]
Nick Belaevski resolved RF-8332.
--------------------------------
Resolution: Rejected
Assignee: Nick Belaevski
That's a known problem of JSP views - inline text is not handled correctly by f:facet
tag. Facelets views handle this correctly. For Eclipse preview, please consider posting
the issue to JBoss Tools users' forum.
3.3.2 SR1 documentation vs. rendering failure - rich:dataTable
--------------------------------------------------------------
Key: RF-8332
URL:
https://jira.jboss.org/jira/browse/RF-8332
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Environment: RichFaces 3.3.2 SR1
Reporter: Robert Spielmann
Assignee: Nick Belaevski
Described in
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_dataTa... - this
is the way to get a dataTable column with a header:
<rich:column>
<f:facet name="header">State Flag</f:facet>
<h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
However, this does not work. "State Flag" is rendered into each table cell of
the column, followed by the respective text or image. At the same time, the preview in
Eclipse renders the table "correctly", i.e. with the header displayed just once
on top of the column. This is somewhat inconsistent.
It works, however, like this:
<rich:column>
<f:facet name="header"><h:outputText>State
Flag</h:outputText></f:facet>
<h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
So, either the documentation needs to be changed, or the rendering is buggy. Pick one ;)
Additionally, the preview in Eclipse is not working correctly.
Regards
Robert Spielmann
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: