]
Nick Belaevski updated RF-10007:
--------------------------------
Fix Version/s: 4.0.0.Milestone5
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.Milestone5
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: