myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <>
Subject [jira] [Created] (MYFACES-3791) [perf] reuse _SelectItemsIterator in UISelectOne.validateValue
Date Fri, 27 Sep 2013 13:05:02 GMT
Martin Kočí created MYFACES-3791:

             Summary: [perf] reuse _SelectItemsIterator in UISelectOne.validateValue
                 Key: MYFACES-3791
             Project: MyFaces Core
          Issue Type: Improvement
         Environment: myfaces core trunk
            Reporter: Martin Kočí
            Priority: Minor

Current  implementation of UISelectOne.validateValue creates (when component.requred = true)
two instances of _SelectItemsIterator, iterates  2x  and evaluates ValueExpression for SelectItem(s)

We can create one instance of SelectItemsIterator and store the noSelectionOption direct in
the _SelectItemsIterator instance and reuse in noSelectionOption-block.

Similar issue MYFACES-3710.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message