Re: Best practice request - dynamic link to redraw page

2004-07-16 Thread Michael McGrady
At 03:52 AM 7/16/2004, you wrote: On every page of the basket the contents of the basket are shown in a panel at the bottom of the page, and against each product is a 'delete' hyperlink. When the user clicks on this link the product should be removed and the page refreshed to show the modified inf

RE: Best practice request - dynamic link to redraw page

2004-07-16 Thread puneet . a
] Website: http://www.tcs.com "McCormack, Chris" <[EMAIL PROTECTED]> 07/16/2004 04:51 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject RE: Bes

RE: Best practice request - dynamic link to redraw page

2004-07-16 Thread McCormack, Chris
iling List Subject: Re: Best practice request - dynamic link to redraw page Jon, The way it is managed is, while you paint the "delete" links in your HTML, you add a query string like this ?itemid=xyz and then in your action class method obtain the value of this variable item

Re: Best practice request - dynamic link to redraw page

2004-07-16 Thread Buland Altaf
Dear, First u need to set the hyperlink of the action(in which u have implemented delete method logic) on the primary key basis through which u will delete the record and create an action forard in struts config file(action of the class in which u have implementated the logic to diaplay records in

Re: Best practice request - dynamic link to redraw page

2004-07-16 Thread puneet . a
Jon, The way it is managed is, while you paint the "delete" links in your HTML, you add a query string like this ?itemid=xyz and then in your action class method obtain the value of this variable itemid ( obviously through form-bean) and this is how single statement can do the work Hope this