hi,
try this..
 
<logic:iterate name="FormBean" property="fee" id="feeCat"
indexId="ctr" scope="request">

<td> <bean:write name="feeCat" property="categoryId"/> </td>
<td>
<html:link page="/foo.do" paramId="id" paramName="<%= ctr %>"> <bean:write name="feeCat" property="cat"/></html:link>
</td>
hope this helps..
--nagi
-------Original Message-------
 
Date: Friday, July 04, 2003 01:55:34 AM
Subject: variable passing.
 
<logic:iterate name="FormBean" property="fee" id="feeCat"
indexId="ctr" scope="request">

<td> <bean:write name="feeCat" property="categoryId"/> </td>
<td>
<html:link page="/foo.do"> <bean:write name="feeCat"
property="cat"/>
</td>

I have a form "FormBean" and their I have a collection of other
form and that collection is named "feeCat". I am iterating over it
and displaying rows in a table in my jsp. Now on clicking one of
this row I am going to "/foo.do" action. This action takes control
to a different jsp with a diferent form bean.

Now I want to pass the id of the row selected to the new jsp with
a fresh form. How can I pass on this information. scope is request
only.

Thank you. :)
Imran.

Imran
___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
& Kareena http://www.mpkdh.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to