myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garner, Shawn" <shawn.gar...@pearson.com>
Subject RE: [JSF] Tiles and Reusable Template
Date Fri, 24 Feb 2006 16:38:15 GMT
Somebody posted that page but I don't quite get how it works.

Shawn
-----Original Message-----
From: CONNER, BRENDAN (SBCSI) [mailto:bc1378@att.com] 
Sent: Thursday, February 23, 2006 1:08 PM
To: MyFaces Discussion
Subject: RE: [JSF] Tiles and Reusable Template

We're using Tiles with JSF and have no problems.  Works wonderfully, in
fact.  We just needed to code up a tilesDispatch.jsp to avoid having to
create a page for every tile.  (One of the other threads on the subject
gives a link for how to do this.  If you can't find the link, let me
know.  I think it was on java.net.)

- Brendan

-----Original Message-----
From: Garner, Shawn [mailto:shawn.garner@pearson.com] 
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:news@sea.gmane.org] 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. 
****************************************************************************

Mime
View raw message