[richfaces-issues] [JBoss JIRA] (RF-12135) rich:extendedDataTable column width lost after table rerendering (partial state saving)

Jan Papousek (JIRA) jira-events at lists.jboss.org
Wed Apr 11 06:13:47 EDT 2012


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

Jan Papousek updated RF-12135:
------------------------------

    Steps to Reproduce: 
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richExtendedDataTable/rf-12135.xhtml
# change width of the first column
# click on the "render" link -> OK
# click on the "render" link again -> column width is reset

  was:
1) Resize a column.
2) Rerender table 2 times.
Column will take initial width.

Code to reproduce:

<a4j:commandLink render="table" value="render" />
<rich:extendedDataTable
    id="table"
    value="#{tableBean.items}" var="item"
    style="height:300px; width:300px;">
    <rich:column>
           <f:facet name="header">
               <h:outputText value="Column 1" />
           </f:facet>
        <h:outputText value="#{item.data1}" />
    </rich:column>
    <rich:column>
           <f:facet name="header">
               <h:outputText value="Column 2" />
           </f:facet>
        <h:outputText value="#{item.data2}" />
    </rich:column>
</rich:extendedDataTable>

       Forum Reference: https://community.jboss.org/thread/197898?tstart=0, https://community.jboss.org/message/728092#728092  (was: https://community.jboss.org/thread/197898?tstart=0, https://community.jboss.org/message/728092#728092)

    
> rich:extendedDataTable column width lost after table rerendering (partial state saving) 
> ----------------------------------------------------------------------------------------
>
>                 Key: RF-12135
>                 URL: https://issues.jboss.org/browse/RF-12135
>             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
>            Assignee: Jan Papousek
>              Labels: richfaces
>
> Bug in rich:extendedDataTable - column width lost after table rerendering.
> Steps to reproduce:
> 1) Resize a column.
> 2) Rerender table 2 times.
> Column will take initial width.
> JSF Mojarra 2.1.7
> Column order does not have this issue. And no issue when disabling partial state saving (javax.faces.PARTIAL_STATE_SAVING).

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