[richfaces-issues] [JBoss JIRA] (RF-11382) Datatable and ExtendedDatatable evaluate value attribute even if rendered=false

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Feb 28 10:14:57 EST 2013


    [ https://issues.jboss.org/browse/RF-11382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757543#comment-12757543 ] 

RH Bugzilla Integration commented on RF-11382:
----------------------------------------------

Ján Jamrich <jjamrich at redhat.com> made a comment on [bug 916313|https://bugzilla.redhat.com/show_bug.cgi?id=916313]

Patch verified by job [1], manually by adding page witch code from related JIRA [2] added by jpapousek.
Steps to apply patch verified too, built metamer.war with patched version of richfaces-component-ui.jar


[1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RF-Prod/job/richfaces-wfk-2.1-one-off-patch-916313-metamer-ff/1
[2] https://issues.jboss.org/browse/RF-11382
                
> Datatable and ExtendedDatatable evaluate value attribute even if rendered=false
> -------------------------------------------------------------------------------
>
>                 Key: RF-11382
>                 URL: https://issues.jboss.org/browse/RF-11382
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.0.0.Final, 4.1.0.Milestone2
>         Environment: Fedora 15, Glassfish 3.1.1, CDI (Weld)
>            Reporter: Frederick Kämpfer
>            Assignee: Brian Leathem
>              Labels: lazy-loaded
>             Fix For: 4.3.0.M3
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> In Richfaces 4 both datatable and extendedDatatable evaluate the value attribute even when rendered is set to false, even though it is not necessary. This makes it hard to achieve performance by trimming parts of the view tree. The built-in h:dataTable behaves correctly in that case.
> To reproduce simply try this snipplet:
> {code:xml}
> <h:form>
>      <rich:dataTable value="#{myBean.property}" rendered="false">
>       </rich:dataTable>
> </h:form>
> {code}
> Side note: The reason I'm posting this is, that i want to embed a rich:dataTable in a ajax loaded rich:togglePanelItem which is loaded on demand. Probably fixing the "render" problem will also make the dataTable lazy-loadable when switching to the corresponding togglePanelItem.
> I hope this is no duplicate, I only found RichFaces 3 issues mentioning this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list