There is a Tiles result in the distribution that you could try.

* http://cwiki.apache.org/WW/tiles-result.html

Once configured, in the struts.xml, you can refer to the tiles as if
they were pages, just like Struts 1:

<action name="editUser" class="userAction" method="edit">
     <result name="success" type="tiles">userForm</result>
     <result name="input" type="tiles">userList</result>
</action>

Or, so I'm told :)

Many WW/S2 developers use SiteMesh as an alternative to Tiles.

* http://today.java.net/pub/a/today/2004/03/11/sitemesh.html

-- HTH, Ted.
* http://www.husted.com/struts/

On 8/25/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
Is there templating available like Tiles where I can define a template
JSP with a header,side menu, body, and footer and then just reuse it
accross pages?

I see there are themes and templates in the documentation but it
usually is simple pages or bits of code generated so I'm not sure if
this can be done with Velocity, Freemarker, etc...

Shawn

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to