[jbosstools-issues] [JBoss JIRA] (JBIDE-5768) ui:include and f:facet header/footer don't render
Denis Maliarevich (JIRA)
jira-events at lists.jboss.org
Tue Sep 11 05:54:33 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-5768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717375#comment-12717375 ]
Denis Maliarevich edited comment on JBIDE-5768 at 9/11/12 5:54 AM:
-------------------------------------------------------------------
So the correct form of the included file should be like this:
{code}
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<f:facet name="header">
<h:outputText value="HEADER"/>
</f:facet>
</ui:composition>
{code}
was (Author: dmaliarevich):
So the correct form of the included file should be like this:
{code}
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<f:facet name="header">
<h:outputText value="HEADER"/>
</f:facet>
</ui:composition>
> ui:include and f:facet header/footer don't render
> -------------------------------------------------
>
> Key: JBIDE-5768
> URL: https://issues.jboss.org/browse/JBIDE-5768
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Visual Page Editor Templates
> Affects Versions: 3.1.0.CR1, 3.1.0.GA
> Reporter: Menashe D
> Assignee: Denis Maliarevich
> Fix For: 4.0.0.Alpha2
>
> Attachments: browser.png, Fecelet-Processing-test.xhtml - Eclipse SDK .png, rfDataTable.png, test-footer.xhtml, test-header.xhtml, test.xhtml, vpe.png
>
>
> i have this code inside <rich:dataTable>
> <ui:include src="paginator.xhtml"/>
> when paginator.xhtml
> <f:facet name="footer">
> <s:span>TEXT</s:span>
> </f:facet>
> the TEXT is not rendered in the Visual/Source and Preview panels.
> however when <f:facet> tag is removed it renders fine.
> Same is true with <f:facet name="header">
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list