[richfaces-issues] [JBoss JIRA] Updated: (RF-9993) rich:tree - condition for @rendered on one treeNode applies to another treeNode
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Fri Dec 10 14:06:52 EST 2010
[ https://issues.jboss.org/browse/RF-9993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski updated RF-9993:
-------------------------------
Assignee: Nick Belaevski
Fix Version/s: 4.0.0.Milestone5
> 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