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: http://cwiki.apache.org/WW/tiles-r

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: 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? Th

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

2006-08-28 Thread Ted Husted
On 8/28/06, Garner Shawn <[EMAIL PROTECTED]> wrote: Can somebody give me a simple example how to do a header, sidemenu, body, footer template with sitemesh and a jsp page? Did you deploy the SiteMesh example application ? It's a separate download. * http://opensymphony.com/sitemesh/download.a

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 a

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 > usu

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 wil

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: userForm userList Or, so I'm told :) Many WW/S2 developers use S