[opencms-dev] StackOverflow on from CmsXmlTemplate.templateElement

Jordan Harrison jordo at jordoman.com
Fri Jun 24 18:13:30 CEST 2005


Hmm,

It's falling over on:

<cms:include element="body"/>

So, how does this work? On my JSP and XML template files I've applied the value "body" to the template-element
property. When I create a new page /site/myWebsite/index.html I place test text in the "body" element.

But it doesn't seem to get included correctly (hence the StackOverflow). Am I missing a step in here?




Jordan Harrison said:
> Hi Guys,
>
> I'm just moving one of my older projects from openCMS 5 to 6.
>
> So in my template/myTemplate.xml file I've changed the jsp-template node:
>
>         <class>com.opencms.flex.CmsJspTemplate</class>
> to be
>         <class>com.opencms.legacy.CmsJspTemplate</class>
>
> Is this correct? But it's now giving me a StackOverflow:
>
> org.opencms.main.CmsException: User method templateElement throwed an exception. java.lang.StackOverflowError (love
> the grammer there btw ;)
>     <keyline>at com.opencms.template.CmsXmlTemplate.templateElement(CmsXmlTemplate.java:1422)</keyline>
>
> I'm guessing plenty of you have had to move your projects over - has anyone else had this problem?
>
>
> Cheers
> Jordan
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>


-- 





More information about the opencms-dev mailing list