Rüdiger,
Thanks for your help. That works perfectly!
Brian
From: "Rüdiger Schulz" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Clearing Input fields
D
Hello Brian Boyle,
on 06.05.2004 at 18:35 you wrote:
> Please excuse my lack of knowledge about Struts! I've only started learning
> it recently.
I just have completed my first Struts project as well, and lack of
knowledge is what usually brings people to mailing lists :-)
> First of all you sai
all your assistance,
Brian
From: Hubert Rabago <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Clearing Input fields
Date: Wed, 5 May 2004 09:53:43 -0700 (PDT)
MIME
t scope, and
> what difference does this make form putting it into the session scope?
>
> Regards,
>
> Brian
>
>
> >From: Hubert Rabago <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: Struts Users Maili
?
Regards,
Brian
From: Hubert Rabago <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Clearing Input fields
Date: Wed, 5 May 2004 08:55:31 -0700 (PDT)
MIME-Version: 1.0
Re
ss to
distinguish between the two. Is is something in the request?
THanks,
Brian
From: "Rüdiger Schulz" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Clear
will I need a differnet one for each button?
>
> Thanks,
>
> Brian
>
> >From: Riyad Kalla <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List <[EMAIL PROTECTED]>
> >Subject: Re
Brian,
Aside from putting your form bean in request scope, you really don't need to
do anything special to clear the form when a new form is being shown.
Javascript certainly isn't required to clear it. Try it out and mail back if
just putting it to request scope doesn't work as you expected.
H
an Boyle [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 11:04 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Clearing Input fields
>
> Hi Reddy,
>
> Thanks for your reply. I understand what you are saying by writing a
> javascript function for an onClick even
Hello Brian Boyle,
on 05.05.2004 at 17:39 you wrote:
> On my last page I have two buttons. One that will let me continue
> with the applicaiton and the other is the button that will bring me back to
> the original page. Will I need to have two forms and an differnent Action
> class for each form?
lt;[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Clearing Input fields
Date: Wed, 05 May 2004 08:25:52 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([208.185.179.12]) by mc8-f13.hotmail.com
with Microsoft SMTPSVC(5.0.2195.6824); Wed, 5 May
.
Thanks
Brian
From: "Pingili, Madhupal" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: Clearing Input fields
Date: Wed, 5 May 2004 09:48:15 -0400
of having to
click reset when I return to the page.
Thanks
Brian
From: "Pingili, Madhupal" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: Clearing Input
One solution would be to make sure your form is in the request scope (not session)
and that you redirect (not forward) back to the page once you have finished
processing the user input.
robert
> -Original Message-
> From: Brian Boyle [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2
Hi Brian,
If you view the html source, you will see the value='x'.
Clicking on Reset button is initializing to this value for each field.
I have solved this problem by replacing Reset button with button and
onclick event javascript for that button which will clear all fields.
Let me know if you
Reset resets your form to the state it was in when loaded - ie how it was
shown *after* your submission.
To clear your fields you will need to code a javascript function do this
explicitly.
-Original Message-
From: Brian Boyle [mailto:[EMAIL PROTECTED]
Sent: 05 May 2004 14:40
To: [EMAIL
16 matches
Mail list logo