Hi DN! Seems like the specs just changed..;) Please see inline
comments..
Dinh Nguyen wrote:
Geeta,
thanks for pointing out the issue, however, we take care of that in
the validation form. Either way if the user misses some fields,
he/she'll be redirected back to the registration form
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out a registration form, he/she clicks on Submit
button, she/he will be redirected to a page says that are you sure
you want to submit information?. If the use clicks yes, button,
then he/she will be
class via the controller.
-Original Message-
From: Dinh Nguyen [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: How to do Confirmation page.
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out
the
content
to the action class via the controller.
-Original Message-
From: Dinh Nguyen [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: How to do Confirmation page.
Hi,
Do you know how to do the confirm page using struts
!!
-Original Message-
From: Dinh Nguyen [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 12:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to do Confirmation page.
Hi Rajat,
Ok, let say, whatever page, the user wants to save the information,
then the Save (Submit) button
:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to do Confirmation page.
Hi Rajat,
Ok, let say, whatever page, the user wants to save the information,
then the Save (Submit) button will be implemented. But how do you
do
that? Can you give me example? how do I use the forward in my
Hi Dinh Nguyen:
We had a similar requirement and we solved it using Javascript's
location.href .. I reproduce our code below:
script language=JavaScript
function confirmPrint(msg){
if (confirm(msg)) {
Hi Geeta,
Thanks for tipping me the info. So in this case, how and where would
I implement/insert the javascript code in the files I sent out
earlier? http://groups.yahoo.com/group/struts/message/71619
Thanks for your help.
Dinh nguyen
--- In [EMAIL PROTECTED], Geeta Ramani [EMAIL PROTECTED]
Hi Dinh nguyen:
I didn't look at your files, but it's fairly starightforward I think.. You
add this javascript code within the head /head of your registration
page. In your case it would be something like this:
head
script language=JavaScript
function confirmSubmit(){
if
Hi Geeta,
Don't I have to mofidy the struts-config file too? Where would I
modify that? Below is part for register page in the struts-config file
action path=/register
type=myproject.Action.RegisterAction
name=registerForm
input=register.jsp
validate=true
Hmm.., maybe I misunderstood you.. But here's what i understood:
According to your initial question, you want to ask the question are you
sure you want to submit? as soon as the user hits the Submit button,
right? If the user clicks Yes you go on ahead with the submission. And
if the user clicks
Geeta,
thanks for pointing out the issue, however, we take care of that in
the validation form. Either way if the user misses some fields,
he/she'll be redirected back to the registration form asks them to
fill-in the required fields.
I am sorry I was confusing myself too: Below is the
12 matches
Mail list logo