]
Lukas Fryc updated RF-9992:
---------------------------
Attachment: Screenshot-7.png
rich:tree - treeNode is rendered even though @rendered=false
------------------------------------------------------------
Key: RF-9992
URL:
https://issues.jboss.org/browse/RF-9992
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
Attachments: Screenshot-7.png
See the sample with adaptors:
https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/applica...
Revision: 20507
line 83 says:
<rich:treeNode rendered="#{node.class.simpleName != 'RecursiveNode' ||
node.number != 1 || richTreeNodeBean.attributes['rendered'].value}">
The first part of condition is workaround for issue XYZ ("node.class.simpleName !=
'RecursiveNode'").
Important is "node.number != 1" disabling second node when rendered is set to
false.
Steps to reproduce on Metamer:
1. open
http://localhost:8080/metamer/faces/components/richTree/treeAdaptors.xhtml
2. set rendered=false in rich:treeNode fieldset
(the second of the root nodes should not be rendered now)
FAIL: the node is rendered (with default expression used?)
Screenshot attached.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: