programmerprogrammer
Programmer
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.
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.