If I understand you correctly, here is how it might look:

YourActionForm
   Collection table1Data (retrieved from persistence on the first request
of the Action)
   Collection table2Data (empty on first request)

YourAction
   Loads table1 data
   Expects a table1RowNum parameter (from clicking on one of the rows in
table1) but can run without it for the initial request
   If param exists, load table2 data and forward to your.jsp

your.jsp
<c:if test="${myActionForm.table2Data != null}"> (or whatever test you want)
   [print table 2 data]
</c:if>

This also looks like a prime candidate for AJAX.



On 8/11/06, A. Lotfi <[EMAIL PROTECTED]> wrote:

I am trying to have in my jsp page two tables :

First table : Select the package  :
row1
row2
row3
...
row10

each time the user select a row, the rows in the second table change :
for example if the user click in row2 the second table will be like this :

Second Table : Select the page to print :
row2Page1
row2Page2
...
row2Page6


Could you please give me an idea on how to do it, thanks your help is
appreciated.



---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.

Reply via email to