[richfaces-issues] [JBoss JIRA] (RF-12149) Rendering from table row is broken

Nick Dev (JIRA) jira-events at lists.jboss.org
Thu Apr 5 13:16:48 EDT 2012


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

Nick Dev updated RF-12149:
--------------------------

           Description: 
Rendering component in table header does not work when performed from table row.
AJAX response has row dependent id like "testform:table:5:out" instead of "testform:table:out".
Affects both rich:dataTable and rich:extendedDataTable.

  was:
Rendering component in table header does not work when performed from table row.
AJAX response has wrong id like "testform:table:5:out" instead of "testform:table:out".
Affects both rich:dataTable and rich:extendedDataTable.

    Steps to Reproduce: 
- have component with "render" in table row
- have component in table header
- render header component from the row
Rendering will not work (AJAX response has row dependent id like "testform:table:5:out" instead of "testform:table:out")
Code to reproduce:
<h:form id="testform">
<rich:dataTable
    id="table"
    value="#{tableBean.items}" var="item">
    <rich:column>
        <f:facet name="header">
            <h:outputText id="out" value="#{tableBean.date}" />
        </f:facet>
        <a4j:commandLink render="out" value="render" />
    </rich:column>
</rich:dataTable>
</h:form>

  was:
- have component with "render" in table row
- have component in table header
- render header component from the row
Rendering will not work (AJAX response has wrong id like "testform:table:5:out" instead of "testform:table:out")
Code to reproduce:
<h:form id="testform">
<rich:dataTable
    id="table"
    value="#{tableBean.items}" var="item">
    <rich:column>
        <f:facet name="header">
            <h:outputText id="out" value="#{tableBean.date}" />
        </f:facet>
        <a4j:commandLink render="out" value="render" />
    </rich:column>
</rich:dataTable>
</h:form>


    
> Rendering from table row is broken
> ----------------------------------
>
>                 Key: RF-12149
>                 URL: https://issues.jboss.org/browse/RF-12149
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.2.0.Final
>         Environment: JSF Mojarra 2.1.7
>            Reporter: Nick Dev
>
> Rendering component in table header does not work when performed from table row.
> AJAX response has row dependent id like "testform:table:5:out" instead of "testform:table:out".
> Affects both rich:dataTable and rich:extendedDataTable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list