struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rassmann, Natalie D" <>
Subject indexed property not working
Date Thu, 06 May 2004 15:44:29 GMT
Hi - 

I have an arraylist within an arraylist and I am trying to iterate throught it.  When I use
indexed on the item; it doesn't seem to be indexing the name.  Here is a code snippet:

 <logic:iterate id="testProceduresList" name="crPacketForm" property="testProceduresList"

  <c:forEach items="${[i]}" var="steps" varStatus="idx">

      <html-el:textarea name="steps" property="action"  rows = "5" cols="80" indexed="true"/>



When I look at the generated source code I see the following being generated:

<textarea name="steps[0].action" cols="80" rows="5">Start ACTS MK51 by bringing up the
system. Init a scenario run a ACTS exercise.   </textarea>
 <textarea name="steps[0].action" cols="80" rows="5">ddaf</textarea>

Every textarea for the property action has steps[0] instead of steps[0], steps[1], etc.

The indexing does not seem to be working?  Does anyone have any ideas????


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message