This content has been marked as final.
Show 2 replies
-
1. Re: Literal value does not work for expanded attribute of rich:treeNode
jpapouse Jun 14, 2012 11:19 AM (in response to a.zhemoytuk)1 of 1 people found this helpfulHi, create a new issue on JIRA please.
-
2. Re: Literal value does not work for expanded attribute of rich:treeNode
a.zhemoytuk Jun 14, 2012 12:29 PM (in response to a.zhemoytuk)https://issues.jboss.org/browse/RF-12325 created.
Workaround:
public class UITreeNodeWorkaround extends UITreeNode {
enum PropertyKeys { iterationState }@Override
public Object getIterationState() { return getStateHelper().get(PropertyKeys.iterationState); }@Override
public void setIterationState(Object state) { getStateHelper().put(PropertyKeys.iterationState, state); }
}and in faces-config:
<component>
<component-type>org.richfaces.TreeNode</component-type>
<component-class>com.example.UITreeNodeWorkaround</component-class></component>