JSTL Var in JSF binding
Hello all,
i need to do some thing like this :
<c:forEach var="entry" items="${sessionScope.MyBean.listStep}" varStatus="status">
<c:set var="Index" value="${status.index}" scope="session" />
...
<h:selectOneMenu binding="#{MyBean.structItemArray[Index].item1Selected}" >
<f:selectItems binding="#{MyBean.listItem1}" />
</h:selectOneMenu>
...
</c:forEach>
StructItem is a class with properties : item1Selected, item2Selected, ...
and MyBean has Private StructItem[] StructstructItemArray ;
it seems that :
#{MyBean.structItemArray[Index].item1Selected} DON'T WORK
#{MyBean.structItemArray[0].item1Selected}
#{MyBean.structItemArray[1].item1Selected}... WORK
Could some one help me ?
if you want more just ask !
thx

