Author: lfryc(a)redhat.com
Date: 2010-12-15 12:13:15 -0500 (Wed, 15 Dec 2010)
New Revision: 20590
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/simple.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/treeAdaptors.xhtml
Log:
rich:tree - added toggleNodeEvent attribute sample (RF-9730, RF-9827)
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java 2010-12-15
17:12:33 UTC (rev 20589)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeBean.java 2010-12-15
17:13:15 UTC (rev 20590)
@@ -90,6 +90,7 @@
attributes.setAttribute("nodeClass", null);
attributes.setAttribute("execute", null);
attributes.setAttribute("render", null);
+ attributes.setAttribute("toggleNodeEvent", null);
// hidden attributes
attributes.remove("selectionChangeListener");
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/simple.xhtml 2010-12-15
17:12:33 UTC (rev 20589)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/simple.xhtml 2010-12-15
17:13:15 UTC (rev 20590)
@@ -89,6 +89,7 @@
toggleListener="#{richTreeListenerBean.processToggle}"
render="#{richTreeBean.attributes['render'].value}"
execute="#{richTreeBean.attributes['execute'].value}"
+ toggleNodeEvent="#{richTreeBean.attributes['toggleNodeEvent'].value}"
<rich:treeNode type="country"
@@ -188,6 +189,7 @@
toggleListener="#{richTreeListenerBean.processToggle}"
render="#{richTreeBean.attributes['render'].value}"
execute="#{richTreeBean.attributes['execute'].value}"
+ toggleNodeEvent="#{richTreeBean.attributes['toggleNodeEvent'].value}"
</rich:tree>
</p>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/treeAdaptors.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/treeAdaptors.xhtml 2010-12-15
17:12:33 UTC (rev 20589)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richTree/treeAdaptors.xhtml 2010-12-15
17:13:15 UTC (rev 20590)
@@ -84,6 +84,7 @@
toggleListener="#{richTreeListenerBean.processToggle}"
render="#{richTreeBean.attributes['render'].value}"
execute="#{richTreeBean.attributes['execute'].value}"
+ toggleNodeEvent="#{richTreeBean.attributes['toggleNodeEvent'].value}"
<rich:treeModelRecursiveAdaptor