RE: "action" attribute in reset button

2011-05-09 Thread karthick.gunasekaran
You can try this Thanks, Karthick -Original Message- From: Baubak Gandomi [mailto:b.gand...@castsoftware.com] Sent: Monday, May 09, 2011 5:46 PM To: user@struts.apache.org Subject: "action" attribute in reset button Hi All, I'm currently fiddling with

"action" attribute in reset button

2011-05-09 Thread Baubak Gandomi
oid setModelSignal(String usedModel) { this.modelSignal = usedModel; } public String getModelSignal() { return modelSignal; } } In my view I have : Reset Case 2 We specify the action and method through the reset button : My assump

RE: Reset Button

2006-07-31 Thread Lance
I had this issue too. form.reset() resets fields in the form back to their original state when the page loaded. Chances are the form's original state was populated. You may want your reset button to call a method that sets all your fields to blank instead of using form.reset() -Ori

Reset Button

2006-07-30 Thread Puneet Lakhina
I have a simple form which has 4 fields a submit and a reset button. WHen the form is initially loaded, everything works fine, and the reset button actually sets the values to their default values according to the form bean. But on a certain condition in my action i forward back to the form i.e

Re: reset button deos not work with struts validator

2006-06-04 Thread Laurie Harper
Victor.T. Ying wrote: Hi, I meet a problem using structs validator and reset button The problem occurs when the validator find a validation error, then reset button can not clear the input field but retain the error values. BTW the respective form is in the session and I am using html:reset

reset button deos not work with struts validator

2006-05-30 Thread Victor.T. Ying
Hi, I meet a problem using structs validator and reset button The problem occurs when the validator find a validation error, then reset button can not clear the input field but retain the error values. BTW the respective form is in the session and I am using html:reset tag

Problem with RESET button.

2005-12-19 Thread senthil Kumar
Hi All., In my JSP I have the lot of input field and provide the RESET and NEXT Button. While clicking next button I am doing form validation for input filed. My problem is ,When page gets loaded and give input field value and click RESET button,all values are gets Resets. Fine. Enter input

RE: Reset button does not clear JSP fields

2004-11-29 Thread O. Oke
ggest > >> you to name such a button with a value different > from > >> "reset". What do you > >> think about "wipe" or "erase"? > >> Bye, > >> aris. > >> > >> - Original Message - > >&g

RE: Reset button does not clear JSP fields

2004-11-29 Thread fzlists
ton and the >> related onClick >> event to call a javascript that sets all field to "". >> What do you think about this "workaround"? >> Take note that it isn't an expected behaviour for a reset >> button. I suggest >> you to name such a button w

RE: Reset button does not clear JSP fields

2004-11-29 Thread Pilgrim, Peter
quot;? > Take note that it isn't an expected behaviour for a reset > button. I suggest > you to name such a button with a value different from > "reset". What do you > think about "wipe" or "erase"? > Bye, > aris. > > - Original Message

Re: Reset button does not clear JSP fields

2004-11-29 Thread Derek Broughton
On Monday 29 November 2004 10:15, aris wrote: > Instead of a reset you could use a simple button and the related onClick > event to call a javascript that sets all field to "". > What do you think about this "workaround"? > Take note that it isn't an exp

Re: Reset button does not clear JSP fields

2004-11-29 Thread aris
Instead of a reset you could use a simple button and the related onClick event to call a javascript that sets all field to "". What do you think about this "workaround"? Take note that it isn't an expected behaviour for a reset button. I suggest you to name such a butt

Reset button does not clear JSP fields

2004-11-29 Thread O. Oke
Please help! Background == I retrieve data from the database, copy the data into an Action Form, the data is then automatically entered into corresponding fields. After viewing the data, I want the RESET button to empty all fields whenever it is clicked. Presently, after clicking the

Help needed with application flow and reset button!!

2004-05-04 Thread Brian Boyle
Hey! I need some advice on how to do the following: I have a page where I input a number of values and hit submit. These values are then stored in a Map-backed ActionForm. Then my Action class forwards me on to the next page. The next page is a simple JSP that lets me review what I have just en