[richfaces-issues] [JBoss JIRA] Updated: (RF-8332) 3.3.2 SR1 documentation vs. rendering failure - rich:dataTable

Robert Spielmann (JIRA) jira-events at lists.jboss.org
Thu Jan 28 08:19:20 EST 2010


     [ https://jira.jboss.org/jira/browse/RF-8332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Spielmann updated RF-8332:
---------------------------------

    Description: 
Described in http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_dataTable.html - 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.

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 ;)

Regards
Robert Spielmann


  was:
Described in http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_dataTable.html - this is the way to get a dataTable column with a header:

{code}
<rich:column>
    <f:facet name="header">State Flag</f:facet>
    <h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
{code}

However, this does not work. "State Flag" is rendered into each table cell of the column, followed by the respective text or image.

It works, however, like this:

{code}
<rich:column>
    <f:facet name="header"><h:outputText>State Flag</h:outputText></f:facet>
    <h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
{code}

So, either the documentation needs to be changed, or the rendering is buggy. Pick one ;)

Regards
Robert Spielmann




> 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
>
> Described in http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_dataTable.html - 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.
> 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 ;)
> Regards
> Robert Spielmann

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list