Details
- 
        Type:
 Improvement
            
         - 
        Status: Closed
 - 
            Priority:
 Minor
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 4.0
 - 
            Fix Version/s: 4.1
 - 
            Component/s: ACE-Components
 - 
            Labels:None
 - 
            Environment:Any
 
- 
                        Assignee Priority:P1
 - 
                        Affects:Documentation (User Guide, Ref. Guide, etc.)
 
Description
                    The following will not populate any items in the rendered dropdown:
<ace:simpleSelectOneMenu value="#{bean.value}">
<f:selectItems value="#{data.list}"/>
</ace:simpleSelectOneMenu>
If #{data.list} resolves to a non-SelectItem list, such as String[].
However h:selectOneMenu had this functionality added (I think in JSF 2.1 or 2.2).
Similarly using newer f:selectItems features don't seem to work. Such as:
<ace:simpleSelectOneMenu value="#{bean.value}">
<f:selectItems value="#{data.list}" var="loop" itemLabel="Custom #{loop}/>
</ace:simpleSelectOneMenu>
This should show "Custom #{loop}" as the label for each item, but the ace:simpleSelectOneMenu ignores the itemLabel attribute instead.
Ideally ace:simpleSelectOneMenu would function, render, and process dropdowns the same as h:selectOneMenu, just with ICEfaces theming and options applied.
<ace:simpleSelectOneMenu value="#{bean.value}">
<f:selectItems value="#{data.list}"/>
</ace:simpleSelectOneMenu>
If #{data.list} resolves to a non-SelectItem list, such as String[].
However h:selectOneMenu had this functionality added (I think in JSF 2.1 or 2.2).
Similarly using newer f:selectItems features don't seem to work. Such as:
<ace:simpleSelectOneMenu value="#{bean.value}">
<f:selectItems value="#{data.list}" var="loop" itemLabel="Custom #{loop}/>
</ace:simpleSelectOneMenu>
This should show "Custom #{loop}" as the label for each item, but the ace:simpleSelectOneMenu ignores the itemLabel attribute instead.
Ideally ace:simpleSelectOneMenu would function, render, and process dropdowns the same as h:selectOneMenu, just with ICEfaces theming and options applied.
Activity
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion
 
| Field | Original Value | New Value | 
|---|---|---|
| Assignee | Arturo Zambrano [ artzambrano ] | |
| Fix Version/s | 4.1 [ 11375 ] | |
| Priority | Major [ 3 ] | Minor [ 4 ] | 
| Assignee Priority | P1 [ 10010 ] | 
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
| Affects | Documentation (User Guide, Ref. Guide, etc.) [ 10003 ] | 
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] | 
| Status | Reopened [ 4 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
| Status | Resolved [ 5 ] | Closed [ 6 ] |