struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <jakartau...@yahoo.com>
Subject Re: Clearing Input fields
Date Wed, 05 May 2004 15:55:31 GMT
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.

Hubert

--- Brian Boyle <b_boyle18@hotmail.com> wrote:
> Hi guys!
> 
> I was wonderng if anyone could help me with aporblem I have. I input data 
> into my input fields on my JSP page. If I press reset the fields are 
> cleared. I press submit and my ActoinForm reads the data in and my Action 
> processes it etc.... However, when I return to this page again the same
> data 
> is still there in hte input fields. When I press my reset button nothing 
> happens. I want to be able to return to the page again and the fields be 
> cleared. I don't want to see the same ddata in them.
> 
> Any ideas on how to do this?
> 
> Thanks for your help
> 
> Brian
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message