[richfaces-issues] [JBoss JIRA] Updated: (RF-10007) Provide sample of rich:tree model adaptor over Map with converter for non-String keys
Lukas Fryc (JIRA)
jira-events at lists.jboss.org
Tue Dec 14 13:06:52 EST 2010
[ https://issues.jboss.org/browse/RF-10007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Fryc updated RF-10007:
----------------------------
Description:
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.
was:
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.
It is necessary to use converter.
Provide please such sample.
> 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
>
> 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