[Logo] Forums for GrailsFlow, Weceem, XSLfast
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Error 500: File "/WEB-INF/grails-app/views/wcmContent/show.jsp" not found  XML
Forum Index » Weceem Forum
Author Message
ilz



Joined: 27/05/2010 09:17:21
Messages: 19
Location: Milano (IT)
Offline





[WWW]
marcpalmer



Joined: 04/06/2009 13:36:35
Messages: 303
Location: UK
Offline

Hello,

I think you will need to provide some more info rather than just an error message for us to be able to help you.

e.g:

* What are you using, weceem app or plugin
* What URL are you requesting
* What is your content
* What are you expecting to happen
* What Weceem and Grails versions are you using

Thanks

This message was edited 1 time. Last update was at 07/12/2011 10:22:34


- -
Twitter: wangjammer5
Blog: http://www.anyware.co.uk
Grails plugins: http://www.grailsrocks.com
[WWW]
ilz



Joined: 27/05/2010 09:17:21
Messages: 19
Location: Milano (IT)
Offline

marcpalmer wrote:
* What are you using, weceem app or plugin
* What URL are you requesting
* What is your content
* What are you expecting to happen
* What Weceem and Grails versions are you using


1 - I'm using weceem plugin
2 - URL does not matter (some pages have the problem other no)
3 - standard html and content included with wcm:render tag
4 - see the page with content included
5 - I'm using weceem 1.1.1 on grails 1.3.7

I found the problem, the included (wcm:render) content was in Draft, so as a logged in admin I have no errors but as a site visitor I have the exception mentioned.
[WWW]
tiny969



Joined: 13/03/2012 09:01:23
Messages: 16
Offline

hi,
having same problem here. trying to use <wcm:render path="[uri]"/> in the "main"-template in my grailsapp, resulting in

URI xxxxx/yyyyy
Class
javax.servlet.ServletException
Message
File "/WEB-INF/grails-app/views/wcmContent/show.jsp" not found

Around line 43 of grails-app\taglib\org\weceem\tags\EmbedTagLib.groovy

40: def node = wcmContentRepositoryService.findContentForPath(uriInfo.uri, uriInfo.space)
41: if (node) {
42: // @todo Should verify it is embeddable content type here i.e. images/downloads can't embed!
43: out << g.include(controller:'wcmContent', action:'show', params:[uri:path])
44: } else {
45: out << "Content not found at [${path}]"
46: }


has something to do with WcmContentController, why it can't find it?!

- using weceem plugin 1.1.2
- grails 2.0.3
- url: [context]/login/auth -> template main: <wcm:render path="[space]/[node]/[node]"/>
- content i like to render is just a html-comment (and it IS PUBLISHED btw)

documentation says, render-tag should render content out from weceem repository, but i always get the error above.
btw, if i add directory "wcmContent" with file "show.gsp" in my app views, i get no error, but no output too... of course
tiny969



Joined: 13/03/2012 09:01:23
Messages: 16
Offline

OK. just found out, that it's obviously not possible to embed widgets... would be VERY desireable!!!
tiny969



Joined: 13/03/2012 09:01:23
Messages: 16
Offline

one more.

it is possible to embed widgets and other types, by means of the space attribute: e.g. <wcm:widget path="[...]" space="[...]"/>
altough, it's not possible, if the widget contains some other tags or page variables. just pure html is working. that's a pity!!!

it would be very nice to have the possibility to embed widgets with weceem-logic in, for instance a menu: i have a widget mainmenu, containing a custom wcm:menu tag. even if i add space="[...]" to the wcm:menu tag in the widget itself, i get an error like:
"Error executing tag : Cannot get property 'lineage' on null object"

any ideas on that? i have a wonderful menu as long as i'm within my weceem content space, but i like (have) to use the same menu in my own grails application...
darrendavison



Joined: 07/05/2012 11:42:34
Messages: 3
Offline

I have exactly the same problem and use case (also posted here about it: http://grails.1312388.n4.nabble.com/weceem-plugin-render-widget-from-application-GSP-tc4613759.html) Did you manage to get anywhere with this?

This message was edited 1 time. Last update was at 07/05/2012 11:44:47

darrendavison



Joined: 07/05/2012 11:42:34
Messages: 3
Offline

just creating an "HTML" resource in the CMS that has a single line pointing to the widget works
darrendavison



Joined: 07/05/2012 11:42:34
Messages: 3
Offline

actually this doesn't address the need properly. Variables like "active" don't work because the content that is active is the wrapper fragment around the widget and not the page that includes the wrapper fragment.

If you don't need to highlight current page in your menu structure, you might get away with this though.
 
Forum Index » Weceem Forum
Go to:   
Powered by JForum 2.1.8 © JForum Team