[richfaces-issues] [JBoss JIRA] Updated: (RF-9997) rich:tree - adaptors - introduce value/property node binding

Jay Balunas (JIRA) jira-events at lists.jboss.org
Mon Dec 13 12:54:53 EST 2010


     [ https://issues.jboss.org/browse/RF-9997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-9997:
----------------------------

    Fix Version/s: Future_4.X


> 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
>             Fix For: Future_4.X
>
>
> 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