[richfaces-issues] [JBoss JIRA] Created: (RF-11316) Improve the data model handling in select components

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Aug 17 02:38:17 EDT 2011


Improve the data model handling in select components
----------------------------------------------------

                 Key: RF-11316
                 URL: https://issues.jboss.org/browse/RF-11316
             Project: RichFaces
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: component-selects
    Affects Versions: 4.1.0.Milestone1
            Reporter: Brian Leathem
            Assignee: Brian Leathem
             Fix For: 4.1.0.Milestone2


The Pick and Ordering list store their clientSelectItem values in a value attribute of the <tr> or <span> element that lists them.
The Select and InPlaceSelect use the clientSelectItems passed through as a script option, but loop over the list for every loookup.

Consolidate and improve these approaches by using the clientSelectItems script option, but make use of the jQuery#data() method to store the values in the DOM elements during component initialization.

--
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