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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.