[richfaces-issues] [JBoss JIRA] Created: (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:04:52 EST 2010


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.

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