Hi All, Hope you all out there can help me on this one. I'm having great trouble getting this to work. This is what I have right now... Description Min Max Begin Date End Date Select 1111111111 xxx xxx xxxxxx xxxxx <button> 2222222222 xxx xxx xxxxxx xxxxx <button> 3333333333 xxx xxx xxxxxx xxxxx <button> 4444444444 xxx xxx xxxxxx xxxxx <button> When you select the row using the select button, this should happen, data associated with 2222222 should appear below it in the form of another row... Description Min Max Begin Date End Date Select 1111111111 xxx xxx xxxxxx xxxxx <button> 2222222222 xxx xxx xxxxxx xxxxx <button> Assoc Data min max 2222222222 xxx xxx 3333333333 xxx xxx xxxxxx xxxxx <button> 4444444444 xxx xxx xxxxxx xxxxx <button> Similiarly, if you select the another row eg 3333333 using the select button, this should happen... Description Min Max Begin Date End Date Select 1111111111 xxx xxx xxxxxx xxxxx <button> 2222222222 xxx xxx xxxxxx xxxxx <button> 3333333333 xxx xxx xxxxxx xxxxx <button> Assoc Data min max 3333333333 xxx xxx 4444444444 xxx xxx xxxxxx xxxxx <button> The table is currently defined using an iterate tag. I'm looking for some tag that I can use to insert an additional row as I discribed. This is how my code (roughly) looks like now. <logic:iterate id="myList" name="xxxxx.myModel" property="myDisplays" type="xxxxx.myDisplay"scope="session" indexId="index"> <tr> <td> <app:write ignoreexception="true" name="myList" property="myCode" filter="true"/> </td> <td> <app:write ignoreexception="true" name="myList" property="myDescription" filter="true"/></td> <td> <app:write ignoreexception="true" name="myList" property="myMinRate" filter="true"/> </td> <td align="center"> <app:write ignoreexception="true" name="myList" property="myMaximumRate" filter="true"/> </td> <app:write ignoreexception="true" name="myList" property="myStartDate" filter="true"/> </td> <td> <app:write ignoreexception="true" name="myList" property="myEndDate" filter="true"/> </td> <td> <A href="/xxxxx/mySpecifiedAction.do?actionType=dosomething&rowIndex=<app:write ignoreexception="true" name="index"/>"><IMG src="images/button_view.gif" border="0"></A> </td> </tr> </logic:iterate> Any suggestions would be great. Thanx.
When I have to add something to a list, I have the add button submit the form to my action class. From there I perform the needed operation, rebuild the list, and send the user back to the jsp.
I have a aaa.jsp, i am prepopulating aaa.jsp with DB values with aaa.do
I need to add a row dynamically in the aaa.jsp, If user clicks on addrow button in aaa.jsp i am increasing the structure size using addrow.do when i am redirecting to the aaa.jsp after adding a row all the other values in the form are nullified and the state of the form is lost because both my actionmappings form scope is request.