RE: delete a record

2004-06-23 Thread Michael McGrady
This is not a struts issue. You have a few choices. JavaScript is a poor one, in my opinion. Use two response objects: one to give them the option and the second to give them the option the second time. Another way to do this is to archive the record instead of deleting it and only delete it

RE: delete a record

2004-06-23 Thread Julia Weaver
Thanks for everyone' suggestion... __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PR

RE: delete a record

2004-06-23 Thread Geeta Ramani
oh ok. Just use Javascript:confirm(..) Geeta > -Original Message- > From: Julia Weaver [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 11:42 AM > To: Struts Users Mailing List > Subject: RE: delete a record > > > Thank you Geeta, > > What I

RE: delete a record

2004-06-23 Thread DGraham
lt;[EMAIL PROTECTED]> cc Subject RE: delete a record Thank you Geeta, What I want to do is when user click DELETE button, will show a pop-window with information "Are you sure you want to delete the record?", and with YES and NO buttons. --- Geeta Ramani <[EMAIL P

RE: delete a record

2004-06-23 Thread Jarnot Voytek Contr AU/SC
:42 AM > To: Struts Users Mailing List > Subject: RE: delete a record > > > Thank you Geeta, > > What I want to do is when user click DELETE button, > will show a pop-window with information "Are you sure > you want to delete the record?", and with YES and N

RE: delete a record

2004-06-23 Thread Julia Weaver
Thank you Geeta, What I want to do is when user click DELETE button, will show a pop-window with information "Are you sure you want to delete the record?", and with YES and NO buttons. --- Geeta Ramani <[EMAIL PROTECTED]> wrote: > Julia: > > I think your question may not be too clear. Firs

RE: delete a record

2004-06-23 Thread Geeta Ramani
Julia: I think your question may not be too clear. First what do you mean by "delete a record in struts"? Strictly speaking, I believe Struts does not (should not) have code which properly belongs the business/database layer. So assuming that you want to show a confirmation page when your appli