[opencms-dev] Struts Tiles Integration

Stephan Hartmann hartmann at metamesh.de
Wed May 5 17:46:28 CEST 2010


You could try this:

<c:set var="myTemplate"><cms:link>Test.jsp</cms:link></c:set>
<tiles:insertTemplate template="${myTemplate}" />

regards,
Stephan

Am 5. Mai 2010 17:06 schrieb Thomas Göttlich <guo.tuomi at googlemail.com>:

> Hi,
>
> we currently are using OpenCMS with Struts2.
>
> However, Tiles doesn't work (yet).
>
> I set up tiles and tested with the following in a JSP:
>
> <tiles:insertTemplate template="Test.jsp" />
>
> However, Tiles reports it can't find the file "Test.jsp", which makes sense
> since the file only exists in the VFS so far and Tiles needs to read them
> from the RFS.
>
> So I guess I first need to tell OpenCMS to export/update the file from VFS
> before Tiles can find it.
>
>
> Does anyone have experience with integration Tiles into OpenCMS?
>
> Or any suggestions?
>
>
> Thanks in advance,
>
> Thomas
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100505/858dd63f/attachment.htm>


More information about the opencms-dev mailing list