You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Galina Gavrilo (JIRA)" <de...@myfaces.apache.org> on 2007/11/01 13:53:51 UTC
[jira] Commented: (MYFACES-1744) Validation messages is shown for
SelectOneMenu in case first child is not SelectItems or SelectItem
[ https://issues.apache.org/jira/browse/MYFACES-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539355 ]
Galina Gavrilo commented on MYFACES-1744:
-----------------------------------------
Patch suitable, but ,what the procedure to include this patch into official build? Is it possible and how to achieve this?
Thanks in advance.
> 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.