Martin Kočí created MYFACES-3791:
------------------------------------
Summary: [perf] reuse _SelectItemsIterator in
UISelectOne.validateValue
Key: MYFACES-3791
URL: https://issues.apache.org/jira/browse/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) 2x.
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: http://www.atlassian.com/software/jira