x:div.

Kalle

> -----Original Message-----
> From: Norm Deane [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 04, 2005 7:21 AM
> To: MyFaces Discussion
> Subject: Dynamic Inclusion/Tiles and <f:verabtim>
> 
> I'm coming from a Struts/Tiles background and really like the 
> Tiles approach to page layout.  My first endevour with JSF 
> involves converting an existing Struts/Tiles web application 
> to JSF. I've got the Tiles integration with MyFaces setup but 
> as I was converting the tiles (header, footer, body, leftnav, 
> etc) I ran into the JSF requirement that all template text 
> and custom JSP tags in included pages must be nested in a 
> <f:verbatim> tag. This led to some really nasty looking 
> pages. For example, I found myself doing this on a couple occasions...
> 
> <f:verbatim><div id="header"></f:verbatim> <h:outputText 
> styleClass="headerText" value="This is my header"/> 
> <f:verbatim></div></f:verbatim>
> 
> Is there another way? How are other people breaking their 
> JSPs down into "modular" chunks so that they can be reused? I 
> guess one answer is to avoid template text and custom tags 
> all together and just use JSF components exclusively. 
> Unfortunately in this case that is not a realistic option.
> 
> Thanks,
> 
> Norm Deane
> http://jroller.com/page/deanen
> 
> 
> 

Reply via email to