[opencms-dev] Templates with JSP pages issue

Yves Glodt yg at mind.lu
Thu Feb 5 22:17:55 CET 2009


On Wednesday 24 December 2008, Yves Glodt wrote:
> Hello,
>
> I have a problem with a template I created which I use in jsp pages.
>
> The template contains some "custom code", look for "// some custom
> code here", and it looks like this code gets executed one time for
> each of the following sections in page.jsp:

I will look into this soon, but in the meantime I think I know why it 
behaves like this...

Probably the following part from the template.jsp should also be 
included in a <cms:template element="header"></cms:template> block...:

<%

// some custom code here

%>


> <cms:include property="template" element="..." />
>
> So several times in my case.
>
> Is that a normal behaviour? If yes, is it possible to know in which
> "section" the execution takes place?
>
> Best regards,
> Yves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090205/6050d5ea/attachment.htm>


More information about the opencms-dev mailing list