RE: wizard form and checkboxes that won't turn off

2005-02-08 Thread Daniel Lipofsky
essage- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 03, 2005 8:07 PM > To: Struts Users Mailing List > Subject: Re: wizard form and checkboxes that won't turn off > > The problem is that the browser submits a value of "on", when >

Re: wizard form and checkboxes that won't turn off

2005-02-07 Thread jelything
Thanks James, now all the other stuff that I read about reset makes sense. I had been assuming that since I don't have a reset function for my form that I didn't need it. Now I'm having issues with my nested forms. Does anyone have a recommendation on how to deal with them? This is what I've d

Re: wizard form and checkboxes that won't turn off

2005-02-03 Thread James Mitchell
The problem is that the browser submits a value of "on", when you check a checkbox and submit the form. However, if you uncheck the checkbox and submit the form, the browser does _not_ submit "off" or "false" or anything. So, with your form sitting in session, how will it know that you want it

Re: wizard form and checkboxes that won't turn off

2005-02-03 Thread jelything
Thanks Eric, I wasn't sure exactly where you meant me to put that, so I tried it here: <..snip..> public ActionForward nextForm(ActionMapping mapping, ActionForm form, HttpServletRequest request,

Re: wizard form and checkboxes that won't turn off

2005-02-03 Thread Eric Lemle
this might help, in your action not sure if this is in 1.1 either. ActionForward cleanDisplay= new ActionForward("add your code here"); cleanDisplay.setRedirect(true); return cleanDisplay; Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 110