Unless you will have different behavior if more than one are selected (Like listing them all).  Then a checkbox would be needed.  In either case I would do Dave's suggestion also - its more intuitive.

later

-----Original Message-----
From: dgraham1980 [mailto:dgraham1980@hotmail.com]
Sent: Friday, September 06, 2002 3:57 PM
To: struts-user
Subject: Re: Need Help in struts desing issue

I wouldn't do it with checkboxes and buttons.  I would make the last name a 
link to the details page with the person's id as a request parameter.  This 
is much easier and less clicks for the user.

The link would look like <a href="details.jsp?id=12">Smith</a>

Dave

>From: Ashish Kulkarni <kulkarni_ash1312@yahoo.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>Subject: Need Help in struts desing issue
>Date: Fri, 6 Sep 2002 09:18:50 -0700 (PDT)
>
>Hi,
>I m developing web site in struts, and need some help
>in desing issue,
>I have a jsp where in I display table of records for
>name, last name, phone , each row has a check box, and
>there is a button called details,
>so if the user selects one check box and clicks
>details, i have to show a detail.jsp with all the
>details of that person, like his address etc.
>This check box value will be unique key, so i will
>pass this unique key to detail.jsp
>I have a bean which can get the details when i provide
>the unique key,
>so how can i go about it, like define this bean in the
>detail.jsp and while i am loading the page call a
>method on this bean which will set the parameters . or
>in my Action class for the previous page have some
>logic.
>can anyone provide with some code , struts-config file
>about doing it in a nice way in struts,
>
>
>
>=====
>A$HI$H
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Finance - Get real-time stock quotes
>http://finance.yahoo.com
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>