Re: Form fields submitted multiple times...

2002-02-04 Thread Ted Husted
If you are using the ValidatorForm, another good trick is to key off the page property it provides. In the reset function, put in a wrapper like this: if (getPage()==0) { setForward(null); setName(null); setTelephone(null); setNumber(null

Re: Form fields submitted multiple times...

2002-02-03 Thread Ted Husted
If you are forwarding from Action to Actoin, the ActionServlet will handle each request the same as the first. If you do not want your ActionForm to be repopulated from the request as you forward it around, the workaround is to put an readonly property on the form. The public setters for your pr

Form fields submitted multiple times...

2002-01-28 Thread Kearfott, David (DST-CLT)
Has anyone ever noticed the "Set" methods in the ActionForm invoked multiple times (always using the values submitted from the html:form) from Action to Action? In our JSP, we have several buttons pertaining to the same form ("thisActionForm"). Depending on which button was pressed, a different