Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA
-
Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
If an ace:selectMenu is displayed with only one item in the list and this item is pre-selected on the server side, the item isn't displayed as selected in the field.
This isn't an issue if the backing list has many items.
This isn't an issue if the backing list has many items.
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case Reference | 5007000000VGpb4AAD |
Arran Mccullough
made changes -
Attachment | Case12338Example.war [ 16280 ] | |
Attachment | Case12338Example.zip [ 16281 ] |
Arran Mccullough
made changes -
Attachment | selectMenu-one-item-issue.jpg [ 16282 ] |
Arran Mccullough
made changes -
Workaround Description |
Adding in a blank item so that there are more than 1 item in the list/selectItems will allow it to be shown as selected. For example:
<ace:selectMenu id="workaroundMenu" value="#{testBean.singleValue}" label="One Item:" labelPosition="left"> <f:selectItem itemLabel="First Item" itemValue="1"/> <f:selectItem itemLabel="" itemValue="" itemDisabled="true"/> </ace:selectMenu> |
|
Workaround Exists | Yes [ 10007 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-3.3.0.GA_P01 [ 11174 ] | |
Fix Version/s | 3.4 [ 10770 ] | |
Assignee Priority | P1 [ 10010 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #37416 | Wed Aug 14 16:16:56 MDT 2013 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js
|
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11382 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Attached test case source code and war file (ICEfaces jar feels need to be re-added to run).