-
Bug
-
Resolution: Done
-
Major
-
4.4.0.Alpha1
-
None
1. Create a bean class with property returning array:
public SignOffStatus[] getStatuses() { return null; }
2. Set collection value of an iterative tag with method call rather than property call
<p:selectOneMenu value="#{instancePage.instanceCriteria.status}"> <f:selectItem itemLabel="--select--" itemValue="#{null}" /> <f:selectItems value="#{appBean.getStatuses()}" var="stat" itemLabel="#{stat.label}" /> </p:selectOneMenu>
3. Failure: members of var are not resolved.
If value is set with property call
value="#{appBean.statuses}"
and/or if method getStatuses() returns a collection type, then var members resolution works ok.
- clones
-
JBIDE-21374 EL var is not resolved correctly when value is set with bean method returning an array
- Closed