Reset button using an image:
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Adrian_K
Posted On:   Wednesday, April 16, 2003 10:53 AM

Simply question but I couldn't find an answer:
I have implemented my submit buttons usin tag...
But I don't know how can I implement a simple reset button using an Struts tag...Is it possible without requesting the server?....

Re: Reset button using an image:

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, April 16, 2003 01:15 PM

I have given up on "html:reset" Struts tag buttons for the time being, because they never seem to work! maybe because the default value that fields get reset to, by a client-side DOM "form.reset()" method, is different in a Struts ActionForm-backed page (e.g. the value that came when the page was created on the server side), than a non-Struts, pure HTML form (e.g. usually reset all to blank empty text fields, etc.)?

About | Sitemap | Contact