Thank you man.....it worked but now I have another question, how can i get
the parameter and pass it to an action class.

Thank you again...


Laurie Harper wrote:
> 
> grifoxx wrote:
>> Hi, I created a table using the iterate tag from struts. What I want to
>> do is
>> to select a row from that table so I have an extra column that has a link
>> called Detail. If the user click on that link I want to display in other
>> page the detail of that row.
>> 
>> To do that I need to get the Order number which is one of the columns, so
>> How can I get that parameter when the user click on the link.
> 
> You don't, you encode it in the link when you render it. For example,
> 
>    <html:link ...
>      paramId="orderNum"
>      paramName="orderBean"
>      paramProperty="orderId"/>
> 
> See the documentation for the html:link tag [1] for the various way of 
> specifying request parameters.
> 
> L.
> 
> [1] http://struts.apache.org/1.2.9/userGuide/struts-html.html#link
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Select-row-from-a-Table-tf2496157.html#a6961729
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to