Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
This validation should ONLY fire when required="true", as per h:selectOneMenu.
Activity
Carlo Guglielmin
created issue -
Carlo Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Ken Fyten
made changes -
Fix Version/s | 4.1 [ 11375 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #45099 | Wed Jun 24 14:44:39 MDT 2015 | art.zambrano | |
Files Changed | ||||
ADD
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/SelectUtils.java
MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/simpleselectonemenu/SimpleSelectOneMenu.java |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
This is actually working correctly right now, the same way as h:selectOneMenu. The only difference is that you need to specify a value to the selectItem that has noSelectionOption="true". It can just be the empty String.
This JIRA will be redirected to cover the case when selectItems using noSelectionOption="true" have no value.