>From: "Wendy Smoak" <[EMAIL PROTECTED]> 
>
> Can someone take a look at SB-47 [1]? It's a Tiles 2 issue 
> complaining about content appearing out of order, and the example app 
> uses Shale. 
> 

Hey Wendy, this looks like the classic JSF 1.1 problem with JSP that will be 
fixed in JSF 1.2.  

In this example, I would try wrapping the static content of the of the 
"htmlHeader.jsp" in a verbatim tag:

@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> 
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %> 
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %> 

<f:verbatim>
<meta name="Generator" content="Port80 Eclipse HTML Editor Plugin; 12/20/2002"> 
...
...
</f:verbatim>

It's a good practice to wrap all in-line html in a verbatim tag.

 
It's also a good practice to wrap an included fragments in a subview tag.  The 
subview is a naming container that will allow the same fragment containing 
input widgets to be included several times in the same page.

<f:subview>
   <tiles:get name="htmlHeader" flush="false"/> 
</f:subview>


> [1] http://issues.apache.org/struts/browse/SB-47 
> 
> Thanks, 
> -- 
> Wendy 

Gary

Reply via email to