Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P2
-
ICEsoft Forum Reference:
Description
As of the 3.3 release, ace:selectMenu and ace:comboBox only support String values in its option items and in the component value itself, producing class cast exceptions when trying to use other object types. These components should support any type of object.
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Fix Version/s | 3.4 [ 10770 ] |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #34592 | Mon Apr 29 19:14:44 MDT 2013 | art.zambrano | |
Files Changed | ||||
![]() ![]() ![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Component/s | ACE-Components [ 10050 ] |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
ICEsoft Forum Reference | http://www.icesoft.org/JForum/posts/list/21895.page |
Summary | ace:selectMenu, add support for different value types | ace:selectMenu and ace:comboBox, add support for different value types |
Description | As of the 3.3 release, ace:selectMenu only supports String values in its select items and produces an exception when trying to use other types. The component should support any type of object as a select item value. | As of the 3.3 release, ace:selectMenu and ace:comboBox only support String values in its option items and in the component value itself, producing class cast exceptions when trying to use other object types. These components should support any type of object. |
Fix Version/s | EE-3.3.0.GA [ 10572 ] |
Summary | ace:selectMenu and ace:comboBox, add support for different value types | ace:selectMenu and ace:comboBox, add support for values of any type |
Fix Version/s | 4.0 [ 11382 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Committed fix at revision 34592.
Since, the code for ace:selectMenu and ace:comboBox was based on the ace:autoCompleteEntry code, all values were assumed to be strings. As selection components, it makes sense that ace:selectMenu and ace:comboBox support other types of objects. So, a fix to support any object type was added to these components, by modifying how the option values are handled, by modifying how the component value itself is handled, and by modifying the way the values are validated.