Hi I am going to do the same, but i need to delete multiple records and so need checkbox,but my main concern is how to work out getting data in detail.jsp once the user has selected the person of whom he wants to change the record, how should i get data in bean, should i define the bean as page scope and have a method in jsp which will set the parameters in bean or in my Action class set the parameters in bean, and put the bean in session Ashish --- [EMAIL PROTECTED] wrote: > > 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:[EMAIL PROTECTED]] > 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 <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > >To: Struts Users Mailing List > <[EMAIL PROTECTED]> > >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:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > > > _________________________________________________________________ > Join the world�s largest e-mail service with MSN > Hotmail. > http://www.hotmail.com > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > >
===== A$HI$H __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

