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
]
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
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
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
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
5 matches
Mail list logo