Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Windows Server, Jboss 6.1 with Mojarra 2.4
Description
The ace simpleSelectOneMenu does not render f:selectItems correctly when they are specified using the new POJO support on f:selectItems. e.g.
<ace:simpleSelectOneMenu value="#{bean.selectedPojo}">
<f:selectItems value="#{bean.pojoList}"
var="n"
itemValue="#{n}"
itemLabel="#{n.labelAttr}"/>
<ace:simpleSelectOneMenu>
The exception thrown is java.lang.ClassCastException: pojo.example.Pojo cannot be cast to javax.faces.model.SelectItem
<ace:simpleSelectOneMenu value="#{bean.selectedPojo}">
<f:selectItems value="#{bean.pojoList}"
var="n"
itemValue="#{n}"
itemLabel="#{n.labelAttr}"/>
<ace:simpleSelectOneMenu>
The exception thrown is java.lang.ClassCastException: pojo.example.Pojo cannot be cast to javax.faces.model.SelectItem
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion