rleland     2003/10/30 22:10:49

  Modified:    web/validator jsType.jsp
               web/validator/WEB-INF validation.xml
  Log:
  Bug 24202
  Add required check for single checkbox,
  Bug report/patch by Saul Q Yuan
  
  Revision  Changes    Path
  1.7       +8 -0      jakarta-struts/web/validator/jsType.jsp
  
  Index: jsType.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/validator/jsType.jsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jsType.jsp        24 Sep 2003 03:43:17 -0000      1.6
  +++ jsType.jsp        31 Oct 2003 06:10:49 -0000      1.7
  @@ -140,6 +140,14 @@
     </tr>
     <tr>
       <th align="left">
  +      <bean:message key="typeForm.checkbox.wouldrecommend"/>:
  +    </th>
  +    <td align="left">
  +      <html:checkbox property="wouldRecommend" />
  +    </td>
  +  </tr>
  +  <tr>
  +    <th align="left">
         <bean:message key="typeForm.checkbox.used.languages"/>:
       </th>
       <td align="left">
  
  
  
  1.8       +4 -0      jakarta-struts/web/validator/WEB-INF/validation.xml
  
  Index: validation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/validator/WEB-INF/validation.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- validation.xml    24 Sep 2003 03:43:17 -0000      1.7
  +++ validation.xml    31 Oct 2003 06:10:49 -0000      1.8
  @@ -289,6 +289,10 @@
                     depends="required">
                    <arg0 key="typeForm.radio.overall.satisfaction"/>
            </field>
  +         <field   property="wouldRecommend"
  +                  depends="required">
  +                 <arg0 key="typeForm.checkbox.wouldrecommend"/>
  +         </field>
            <field   property="usedLanguages"
                     depends="required">
                    <arg0 key="typeForm.checkbox.used.languages"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to