Hi David,
It seems I found the problem. After I moved the several comments in the
template.html, it displays correctly. Modified codes is as follows:
<h:panelGrid columns="1" styleClass="mainBody" rowClasses="row"
cellspacing="0" cellpadding="0" border="1">
<f:facet name="header">
<ui:include src="header.xhtml"/>
</f:facet>
<h:panelGrid columns="2" border="0"
styleClass="contentBody"
columnClasses="sidemenu, content"
cellspacing="1" cellpadding="0">
<ui:insert name="sidebar"/>
<ui:insert name="content"/>
</h:panelGrid>
<f:facet name="footer">
<ui:include src="footer.xhtml"/>
</f:facet>
</h:panelGrid>
Thank you so much for your help.
Best regards,
Gus
David Friedman-2 wrote:
>
> Right, but what did you get over in your browser? Knowing what came out
> in
> the wrong places in the browser helps you figure out what parts of the
> .xhtml page are acting incorrectly. THEN we can act/work on those items.
>
> Regards,
> David
>
> -----Original Message-----
> From: Gus [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 4:54 PM
> To: [email protected]
> Subject: RE: Problem with myfaces/facelets template.xhtml
>
>
>
> Hi David,
> The template I want is
> <table>
> <tr><td colspan=2>header</td></tr>
> <tr><td>sidemenu</td> <td>content</td></tr>
> <tr><td colspan=2>footer</td><tr>
> </table>
> in jsf:
> <h:panelGrid columns="2">
> <f:facet name=header>
> header
> </f:facet>
> <h:panelGrid>sidebar</h:panelGrid>
> <h:panelGrid>content</h:panelGrid>
> <f:facet name="footer">
> footer
> </f:facet>
> I ever used the template in myface/tiles, and it displayed fine. However,
> when I transfer the codes to facelets, it did not display well. I do not
> know why. Thank you for help.
>
> Best regards,
>
> Gus
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-myfaces-facelets-template.xhtml-tf2086138.html#a5754667
Sent from the MyFaces - Users forum at Nabble.com.