Alright, I looked at the symbols example in the usecases example. Thing I don't like about usecases is it tries to show ever feature and its hard for me to tell one feature from another. Even with the clay example there are 4 different options displayed and I can't separate them.
I like the idea of layout.html in the symbols but I don't like the way it uses the html body. I'm also not fond of declaring a bunch of panels and things inside an XML file. I would rather it was in a JSP file. I would like to be able to use the layout.html but then be able to tie this to a JSP View and supply the title and body content in this JSP body. Can anybody help me piece (pun intended) this together? Shawn -----Original Message----- From: Garner, Shawn Sent: Thursday, February 23, 2006 12:51 PM To: 'MyFaces Discussion' Subject: RE: [JSF] Tiles and Reusable Template I looked at Clay and it looks like it will work but I want to examine facelets more first. The facelets tutorial says it does easy templating but there were no examples on how to do it and I couldn't find one in the documentation. Is there an example of this somewhere? Shawn -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, February 22, 2006 6:44 PM To: users@myfaces.apache.org Subject: Re: [JSF] Tiles and Reusable Template Garner, Shawn wrote: > I tried using tiles with JSF and found it does not work very well. > > You end up having to define every page in the tiles.xml file that you want > to use the template for. > > Are there any other approaches to creating a reusable template that uses > multiple jsp pages? > > Seems like I should be able to just include a page and override the body, > title portion without redefining the template for every page. You may be able to do what you want with Tiles using the JSP tags instead of the XML file. Alternatively, take a look at Facelets or Shale Clay. L. **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. ****************************************************************************