craigmcc    01/04/03 11:45:38

  Modified:    doc      struts-html.xml
  Log:
  Add a clarification that the property underlying a "checkbox" field should be
  a boolean, and a pointer to using "multibox" for sets of related Strings.
  
  Revision  Changes    Path
  1.3       +7 -0      jakarta-struts/doc/struts-html.xml
  
  Index: struts-html.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- struts-html.xml   2001/03/25 20:59:12     1.2
  +++ struts-html.xml   2001/04/03 18:45:34     1.3
  @@ -481,6 +481,13 @@
                           with our current form. This tag is only valid when
                           nested inside a form tag body.</p>
   
  +            <p><strong>NOTE</strong>:  The underlying property value
  +            associated with this field should be of type <code>boolean</code>,
  +            and any <code>value</code> you specify should correspond to one
  +            of the Strings that indicate a true value ("true", "yes", or
  +            "on").  If you wish to utilize a set of related String values,
  +            consider using the <code>multibox</code> tag.</p>
  +
                           <p><strong>WARNING</strong>:  In order to correctly
                           recognize unchecked checkboxes, the
                           <code>ActionForm</code> bean associated with this form
  
  
  

Reply via email to