ICEfaces
  1. ICEfaces
  2. ICE-10736

ace:simpleSelectOneMenu fails validation for noSelectionOption even when required="false"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any, tested with Emporium trunk
    • Assignee Priority:
      P2

      Description

      When using <f:selectItem noSelectionOption="true"> as a child of ace:simpleSelectOneMenu the validation will still fire (saying "Value is not valid") even if required="false" (or is not specified).

      This validation should ONLY fire when required="true", as per h:selectOneMenu.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45099 Wed Jun 24 14:44:39 MDT 2015 art.zambrano ICE-10736 added logic to cover the case when noSelectionOption="true" and no value is specified in the SelectItem
        Files Changed
        Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/SelectUtils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/simpleselectonemenu/SimpleSelectOneMenu.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carlo Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: