Re: Using Reset with Checkboxes

2002-05-03 Thread @Basebeans.com
Subject: Re: Using Reset with Checkboxes From: Jose Quinteiro <[EMAIL PROTECTED]> === Javadoc sez: Reset all bean properties to their default state. This method is called before the properties are repopulated by the controller servlet. The default implementation does nothing. Subc

RE: Using Reset with Checkboxes

2002-05-03 Thread Galbreath, Mark
Does this work? According to the tag documentation, Struts passes the string "on" when a checkbox is checked, and reset with "off." This is what I am doing and it has been working flawlessly. According to the Struts API, reset() gets called just before your mapping.findForward() in your action

Re: Using Reset with Checkboxes

2002-05-03 Thread @Basebeans.com
Subject: Re: Using Reset with Checkboxes From: "Ken Holzer" <[EMAIL PROTECTED]> === Thanks for the information Jose. Another question is when and where does the reset get called? Ken "Jose Quinteiro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

Re: Using Reset with Checkboxes

2002-05-02 Thread @Basebeans.com
Subject: Re: Using Reset with Checkboxes From: Jose Quinteiro <[EMAIL PROTECTED]> === You should check for the checkbox parameter(s) in the request, and set it(them) to false if they are not present. For example, if you have a form called "Foo" with a boolean property called

Re: Using Reset with Checkboxes

2002-05-02 Thread Eddie Bush
- From: "Struts Newsgroup (@Basebeans.com)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 2:25 PM Subject: Using Reset with Checkboxes > Subject: Using Reset with Checkboxes > From: "Ken Holzer" <[EMAIL PROTECTED]> > === &

Using Reset with Checkboxes

2002-05-02 Thread @Basebeans.com
Subject: Using Reset with Checkboxes From: "Ken Holzer" <[EMAIL PROTECTED]> === Hi All, I am trying to understand how and when to use the reset with checkboxes. I have seen posting that say when using checkboxes on forms you must reset their value to false. When should this be