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