Author: lfryc(a)redhat.com
Date: 2010-12-17 06:01:44 -0500 (Fri, 17 Dec 2010)
New Revision: 20639
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeNodeBean.java
Log:
fixed rich:treeNode attribute loading
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeNodeBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeNodeBean.java 2010-12-17
10:54:52 UTC (rev 20638)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTreeNodeBean.java 2010-12-17
11:01:44 UTC (rev 20639)
@@ -27,7 +27,7 @@
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
-import org.richfaces.component.UITreeModelAdaptor;
+import org.richfaces.component.UITreeNode;
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -53,7 +53,7 @@
logger.debug("initializing bean " + getClass().getName());
for (int i = 0; i < attributes.length; i++) {
- attributes[i] =
Attributes.getComponentAttributesFromFacesConfig(UITreeModelAdaptor.class, getClass());
+ attributes[i] =
Attributes.getComponentAttributesFromFacesConfig(UITreeNode.class, getClass());
attributes[i].get("rendered").setValue(true);
@@ -65,7 +65,6 @@
attributes[i].setAttribute("handleClass", null);
attributes[i].setAttribute("iconClass", null);
attributes[i].setAttribute("labelClass", null);
- attributes[i].setAttribute("styleClass", null);
}
}
Show replies by date