Re: [s2] Problem with no checkboxes selected

2007-04-20 Thread Zoran Avtarovski
007 9:29 AM > To: Struts Users Mailing List; Frank Russo > Subject: Re: [s2] Problem with no checkboxes selected > > Thanks Frank, > > But I thought that form.reset() was only for s1. Does s2 even have a reset > method? > > Z. > > >> Your form has to impl

RE: [s2] Problem with no checkboxes selected

2007-04-20 Thread Frank Russo
ist; Frank Russo Subject: Re: [s2] Problem with no checkboxes selected Thanks Frank, But I thought that form.reset() was only for s1. Does s2 even have a reset method? Z. > Your form has to implement the ActionForm's reset method. In that > method, you should set all of your boolea

Re: [s2] Problem with no checkboxes selected

2007-04-20 Thread Zoran Avtarovski
Thanks Frank, But I thought that form.reset() was only for s1. Does s2 even have a reset method? Z. > Your form has to implement the ActionForm's reset method. In that method, you > should set all of your boolean attributes to false. The reason has to do with > http. Only checked checkboxes are

RE: [s2] Problem with no checkboxes selected

2007-04-20 Thread Frank Russo
Your form has to implement the ActionForm's reset method. In that method, you should set all of your boolean attributes to false. The reason has to do with http. Only checked checkboxes are submitted on a post request, and only attributes that are submitted have their setters called. If you set