[richfaces-issues] [JBoss JIRA] Reopened: (RF-9993) rich:tree - condition for @rendered on one treeNode applies to another treeNode

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Tue Dec 14 11:08:52 EST 2010


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

Lukas Fryc reopened RF-9993:
----------------------------



Double-checked that issue appears on the [Environment].

Additionally re-checked on Fedora:

RichFaces 4.0.0-SNAPSHOT r.20544
Metamer 4.0.0-SNAPSHOT r.20546
Mojarra 2.0.3-FCS   Apache Tomcat 6.0.28
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 8.0.552.224 @ Linux x86_64

and Window 7 machine:

RichFaces 4.0.0-SNAPSHOT r.20520
Metamer ${project.version} r.${buildNumber}
Mojarra 2.0.3-FCS
Apache Tomcat 6.0.20
Java(TM) SE Runtime Environment 1.6.0_20-b02 @ Windows 7
Internet Explorer 8.0 @ Win32



> rich:tree - condition for @rendered on one treeNode applies to another treeNode
> -------------------------------------------------------------------------------
>
>                 Key: RF-9993
>                 URL: https://issues.jboss.org/browse/RF-9993
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tree
>    Affects Versions: 4.0.0.Milestone5
>         Environment: RichFaces 4.0.0-SNAPSHOT r.20482 
> Metamer 4.0.0-SNAPSHOT r.20507 
> Mojarra 2.0.3-FCS 
> Apache Tomcat 6.0.29 
> OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux 
> Chrome 8.0.552.215 @ Linux x86_64
>            Reporter: Lukas Fryc
>            Assignee: Nick Belaevski
>             Fix For: 4.0.0.Milestone5
>
>
> Sample: https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/treeAdaptors.xhtml
> Revision: 20507
> Steps to reproduce:
> 1. open http://localhost:8080/metamer/faces/components/richTree/treeAdaptors.xhtml
> 2. set rendered=false inside fieldset rich:tree
> 3. open stepwise these nodes: R-0, R-0.0, R-0.0.0
> FAIL: R-0.0.0 can be seen but it cannot be opened, the exception can be seen in server log
> (try with treeNode rendered=true, it can be opened, because the condition "node.number" is not evaluated)
> javax.el.PropertyNotFoundException: /components/richTree/treeAdaptors.xhtml @102,111 rendered="#{richTreeNodeBean.attributes['rendered'].value || node.number != 1}": Property 'number' not found on type org.richfaces.tests.metamer.model.treeAdaptor.ModelNode$B
> 	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:108)
> 	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
> 	at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:417)
> 	at org.richfaces.component.ComponentPredicates$1.apply(ComponentPredicates.java:51)
> 	at org.richfaces.component.ComponentPredicates$1.apply(ComponentPredicates.java:49)
> 	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:606)
> 	...

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