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
Arturo Zambrano
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Mark Collette
made changes -
Fix Version/s | 3.4 [ 10770 ] |
Mark Collette
made changes -
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 | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBoxRenderer.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenu.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenuRenderer.java |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Arturo Zambrano
made changes -
Component/s | ACE-Components [ 10050 ] |
Arturo Zambrano
made changes -
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Arturo Zambrano
made changes -
ICEsoft Forum Reference | http://www.icesoft.org/JForum/posts/list/21895.page |
Arturo Zambrano
made changes -
Summary | ace:selectMenu, add support for different value types | ace:selectMenu and ace:comboBox, add support for different value types |
Arturo Zambrano
made changes -
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. |
Ken Fyten
made changes -
Fix Version/s | EE-3.3.0.GA [ 10572 ] |
Ken Fyten
made changes -
Summary | ace:selectMenu and ace:comboBox, add support for different value types | ace:selectMenu and ace:comboBox, add support for values of any type |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11382 ] |
Ken Fyten
made changes -
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.