[jboss-user] [JBoss Seam] - Re: Question regarding EL method parameters

spambob do-not-reply at jboss.com
Mon Dec 18 00:50:10 EST 2006


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



More information about the jboss-user mailing list