[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
Mon Sep 10 10:15:34 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-5768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717057#comment-12717057 ]
Denis Maliarevich commented on JBIDE-5768:
------------------------------------------
There is a <ui:include> problem:
technically it is rendered correctly to the specified place. BUT <rich:dataTable> allows to render all facets elements (what is against JSF rules).
It is possible to put all facet's children from <ui:include> while creating <rich:dataTable> template, but requires huge code changes:
1) getting included file, reading its structure, finding facets, putting them inside datatable;
2) after that -- disable or adjust <ui:include> creating.
The best wayout would be if <rich:dataTable> behaves as h:dataTable, and do not render unneccessary facet elements.
> 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