I think Dave's got it. Use the struts-el tags if you want to have EL expressions instead of RT expressions (<%= ... %>)

If you want/have to stick with RT, then you'd need this instead of ${status.index}

<%= ((javax.servlet.jsp.jstl.core.LoopTagStatus) pageContext.getAttribute("status")).getIndex() %>

K.C.

Dave Newton wrote:

[EMAIL PROTECTED] wrote:

Niether solution works...
The expression is never evaluated. The output is:

<select name="historyItems[2].scheduleTypeId" onchange="addTableRow('historyTable','s<c:out value='${status.index}'/>')" class="dropdowns2">


Are you using the EL version of the struts tags?

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to