rleland     2004/03/24 21:13:18

  Modified:    web/examples/WEB-INF/validator validation.xml
  Log:
  Bug#: 27899
  Modify example to test proper behaviour is a property
  is named 'name'
  
  Revision  Changes    Path
  1.3       +12 -0     jakarta-struts/web/examples/WEB-INF/validator/validation.xml
  
  Index: validation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/validator/validation.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validation.xml    7 Feb 2004 00:09:33 -0000       1.2
  +++ validation.xml    25 Mar 2004 05:13:18 -0000      1.3
  @@ -129,6 +129,9 @@
         </field>
       </form>
       <form name="typeForm">
  +      <field property="name" depends="required,byte">
  +        <arg0 key="typeForm.name.displayname" />
  +      </field>
         <field property="byte" depends="required,byte">
           <arg0 key="typeForm.byte.displayname" />
         </field>
  @@ -185,6 +188,9 @@
         </field>
       </form>
       <form name="jsTypeForm">
  +      <field property="name" depends="required,byte">
  +        <arg0 key="typeForm.name.displayname" />
  +      </field>
         <field property="byte" depends="required,byte">
           <arg0 key="typeForm.byte.displayname" />
         </field>
  @@ -474,6 +480,9 @@
         </field>
       </form>
       <form name="typeForm">
  +      <field property="name" depends="required,byte">
  +        <arg0 key="typeForm.name.displayname" />
  +      </field>
         <field property="byte" depends="required,byte">
           <arg0 key="typeForm.byte.displayname" />
         </field>
  @@ -530,6 +539,9 @@
         </field>
       </form>
       <form name="jsTypeForm">
  +      <field property="name" depends="required,byte">
  +        <arg0 key="typeForm.name.displayname" />
  +      </field>
         <field property="byte" depends="required,byte">
           <arg0 key="typeForm.byte.displayname" />
         </field>
  
  
  

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

Reply via email to