[richfaces-issues] [JBoss JIRA] (RF-12356) effective use of rowKeyConverter

frank furt (JIRA) jira-events at lists.jboss.org
Mon Jul 9 10:41:12 EDT 2012


frank furt created RF-12356:
-------------------------------

             Summary: effective use of rowKeyConverter
                 Key: RF-12356
                 URL: https://issues.jboss.org/browse/RF-12356
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component-tables
            Reporter: frank furt


For using the rich:tree I can create a rowKeyConverter, so that when the page is rendered richfaces asks me to create a String for my custom object. Then - after an user event - it is the other way round, that is richfaces gives me the String and I return my custom object from the converter.
The nice point about that is: the backing bean variable for the tree-selection always holds my custom object.
 
Now, my question is: How does this work with rich:extendedDataTable?
 
I can define a rowKeyConverter as well, then richfaces asks me to convert my object into a String, however it never asks me to convert the other way round. The selection for the table always holds just the indices. 
I'd like to use the rowKeyConverter for the table just the way it is implemented for the tree.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list