Umh... I am now getting this error: Attribute addTableRow( has now value.

I have downloaded the Struts 1.2.4 and noticed that there is a lib 
directory and then there is a contrib/lib.
What is necessary to use the Struts-EL tags?


I think that with RT the attribute is all expression or no expression.
so try :

<html:select name="historyItems" 
  property="scheduleTypeId" indexed="true" 
  styleClass="dropdowns2"
  onchange="<% = "addTableRow('historyTable', 's" + 
((javax.servlet.jsp.jstl.core.LoopTagStatus)
pageContext.getAttribute("status")).getIndex() + "')" %>">

I'm not sure if i parsed your intention correctly, but the idea is that
the attribute should be all expression. a simpler example:

wrong -> <sometag value="this is a <%= beanName.getValue() %>">
right -> <sometag value="<%= "this is a " + beanName.getValue() %>">


dave

Reply via email to