Re: Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Garner Shawn
Many WW/S2 developers use SiteMesh as an alternative to Tiles. * http://today.java.net/pub/a/today/2004/03/11/sitemesh.html Sitemesh sounds cool, I tried to figure it out by the examples and docs but came up a little short on figuring it out. Can somebody give me a simple example how to do

Re: Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Wendy Smoak
On 8/28/06, Garner Shawn [EMAIL PROTECTED] wrote: Sitemesh sounds cool, I tried to figure it out by the examples and docs but came up a little short on figuring it out. Can somebody give me a simple example how to do a header, sidemenu, body, footer template with sitemesh and a jsp page?

Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Ian Roughley
I'm pretty sure there was a Tile ResultType in WebWork - Matt Raible was a key factor to it's implementation if i remeber correctly. Did it come across with the merger? if so, you could just use tiles. /Ian -- From Down Around, Inc. Innovative IT Solutions Software Architecture * Design

Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Ted Husted
On 8/28/06, Ian Roughley [EMAIL PROTECTED] wrote: I'm pretty sure there was a Tile ResultType in WebWork - Matt Raible was a key factor to it's implementation if i remeber correctly. Did it come across with the merger? if so, you could just use tiles. Yes:

Re: [Struts 2] Templating available like Tiles

2006-08-27 Thread Mark Menard
On 8/25/06 1:40 PM, 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

[Struts 2] Templating available like Tiles

2006-08-25 Thread Garner Shawn
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

Re: [Struts 2] Templating available like Tiles

2006-08-25 Thread Ted Husted
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

Re: [Struts 2] Templating available like Tiles

2006-08-25 Thread Greg Reddin
On Aug 25, 2006, at 12:40 PM, Garner Shawn 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? Matt Raible created a solution[1] for WebWork using Tiles 2.0. I'm not sure if it