[richfaces-issues] [JBoss JIRA] Resolved: (RF-10007) Provide sample of rich:tree model adaptor over Map with converter for non-String keys
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Mon Dec 27 10:52:18 EST 2010
[ https://issues.jboss.org/browse/RF-10007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-10007.
---------------------------------
Resolution: Done
> Provide sample of rich:tree model adaptor over Map with converter for non-String keys
> -------------------------------------------------------------------------------------
>
> Key: RF-10007
> URL: https://issues.jboss.org/browse/RF-10007
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tree
> Affects Versions: 4.0.0.Milestone5
> Reporter: Lukas Fryc
> Assignee: Nick Belaevski
> Priority: Minor
> Fix For: 4.0.0.CR1
>
>
> If we have
> <rich:treeModelAdaptor nodes="#{model.map}" />
> pointing to Map<Integer, MyNode>,
> it doesn't work out-of-the-box, because Integers are internally converted to String
> and Map$get(Object key) is access with String keys.
> It is necessary to use converter.
> Provide please such sample.
--
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