The brain I am I forgot f:param.
What I want can be achieved with something like:
<c:forEach items="#{usecase.preconditions}" var="condition" varStatus="status">
| <li>
| <h:inputTextarea value="#{condition.description}"/>
| <s:button value="Remove Precondition"
action="#{usecasesBean.removeCondition(usecase.preconditions)}">
| <f:param name="listIndex" value="#{status.index}"/>
| </s:button>
| </li>
| </c:forEach>
listIndex is injected with @Requestparameter.
Note that one has to use s:button, s:commandLink doesn't work!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994559#3994559
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994559
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user