[richfaces-issues] [JBoss JIRA] Created: (RF-9997) rich:tree - adaptors - introduce value/property node binding
Lukas Fryc (JIRA)
jira-events at lists.jboss.org
Mon Dec 13 06:29:52 EST 2010
rich:tree - adaptors - introduce value/property node binding
------------------------------------------------------------
Key: RF-9997
URL: https://issues.jboss.org/browse/RF-9997
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.0.0.Milestone5
Reporter: Lukas Fryc
rich:treeModelAdaptor is currently able to bind only Iterable or Map instances, but we should also consider binding values, which can take their place in tree structure.
<rich:treeModelRecursiveAdaptor
roots="#{richTreeModelRecursiveAdaptorBean.rootNodes}"
nodes="#{node.recursive}"
>
<rich:treeNode>
#{node.label}
</rich:treeNode>
<!-- unsupported -->
<rich:treeModelAdaptor nodes="#{node.value}">
<rich:treeNode>
#{node.property}
</rich:treeNode>
</rich:treeModelAdaptor>
<!-- end-unsupported -->
<rich:treeModelAdaptor nodes="#{node.list}">
<rich:treeNode>
#{node.label}
</rich:treeNode>
</rich:treeModelAdaptor>
</rich:treeModelRecursiveAdaptor>
It will be good to see another tag used since conflict with naming like @nodes="value".
Proposal:
<rich:treePropertyNode var="value" value="#{node.value}">
#{value.property}
</rich:treePropertyNode>
--
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