[richfaces-issues] [JBoss JIRA] Resolved: (RF-9897) rich:dataTable, rich:extendedDataTable - dynamic changes of facets leads to output markup inconsistency (applies only for full page refresh)

Konstantin Mishin (JIRA) jira-events at lists.jboss.org
Thu Dec 16 10:56:18 EST 2010


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

Konstantin Mishin resolved RF-9897.
-----------------------------------

    Resolution: Won't Fix


Seems this is JSF problem. As far as I remember JSF wraps content of facet in component and this component is always rendered. You could try to wrap content of facet in h:panelGroup  and manage its rendered attribute maybe it will fix the problem.

> rich:dataTable, rich:extendedDataTable - dynamic changes of facets leads to output markup inconsistency (applies only for full page refresh)
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-9897
>                 URL: https://issues.jboss.org/browse/RF-9897
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.0.0.Milestone4
>         Environment:     * RichFaces 4.0.0-SNAPSHOT r.20272
>     * Metamer 4.0.0-SNAPSHOT r.20302
>     * Mojarra 2.0.3-FCS
>     * Apache Tomcat 6.0.29
>     * OpenJDK Runtime Environment 1.6.0_18-b18 @ Linux
>     * Firefox 3.6.12 @ Linux x86_64
>            Reporter: Lukas Fryc
>            Assignee: Konstantin Mishin
>            Priority: Minor
>             Fix For: 4.0.0.Milestone5
>
>         Attachments: Screenshot-5-ajax-update.png, Screenshot-5-full-page-refresh.png
>
>
> Applies for both, rich:dataTable and rich:extendedDataTable.
> When you are dynamically changing the content of facets like table header, column header, noData, caption or column footer, the component may end up in inconsistent state.
> Say, we have
> <f:facet name="header">
> <h:outputText value="foo" rendered="#{expression}" />
> </f:facet>
> When we trigger ajax-render of table and during that expression changes from true to false, header is still shown but with no content.
> It is inconsistent with state you can get using full-page-refresh.
> However this can be reproduced only by clearing the view (which needs to have backing bean stored in session scope).
> See Steps to Reproduce and attached screenshots.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list