[ 
https://issues.apache.org/jira/browse/MYFACES-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Brainard updated MYFACES-1744:
------------------------------------

    Status: Patch Available  (was: Open)

> Validation messages is shown for SelectOneMenu in case first child is not 
> SelectItems or SelectItem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1744
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1744
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.1.5
>         Environment: Windows XP
>            Reporter: Galina Gavrilo
>         Attachments: _SelectItemsIterator.patch, SelectItemsIterator.patch
>
>
> If SelectOneMenu has child of another type than SelectItems or SelectItem at 
> first place in the children list (e.g. itomahawk jsValueChangeListener), 
> validation of combobox fails with message "Value is not a valid option." 
> Value range is empty in this case because _SelectItemsIterator hasNext() 
> method returns false if first child is not of type SelectItems or SelectItem. 
> It should just skip such children, and should continue looking for values. 
> Right?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to