[opencms-dev] Struts Tiles Integration

Steve Bryan steve at bright-interactive.com
Thu May 6 12:20:12 CEST 2010


OpenCms provides very similar functionality as tiles:

Tiles templates > OpenCms templates
Tiles page defs > Opencms XmlPage objects
Tiles includes > cms:include

Can you just port the tiles to OpenCms?

Steve

-----Original Message-----

Date: Wed, 5 May 2010 17:06:21 +0200
From: Thomas G?ttlich <guo.tuomi at googlemail.com>
Subject: [opencms-dev] Struts Tiles Integration
To: opencms-dev at opencms.org
Message-ID:
	<AANLkTinYMixCuGG4l2Gy3ILpJ9Ii5FPAGNVlIwRjcWC9 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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




More information about the opencms-dev mailing list