DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12212>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12212

Validator seems to be adding a form that I don't have

           Summary: Validator seems to be adding a form that I don't have
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


My validation.xml does not have a "companyForm" yet the following is showing up
in my console log:


   Form: companyForm
        Field:
                key=                 name
                property=            name
                indexedProperty=     null
                indexedListProperty= null
                depends=             required,maxLength
                page=                0
                fieldOrder=          0
                Vars:
                        maxlength=Var: name=maxlength  value=50  jsType=null


        Field:
                key=                 address
                property=            address
                indexedProperty=     null
                indexedListProperty= null
                depends=             required,maxLength
                page=                0
                fieldOrder=          0
                Vars:
                        maxlength=Var: name=maxlength  value=50  jsType=null


        Field:
                key=                 city
                property=            city
                indexedProperty=     null
                indexedListProperty= null
                depends=             required,maxLength
                page=                0
                fieldOrder=          0
                Vars:
                        maxlength=Var: name=maxlength  value=50  jsType=null


        Field:
                key=                 zip
                property=            zip
                indexedProperty=     null
                indexedListProperty= null
                depends=             required,maxLength
                page=                0
                fieldOrder=          0
                Vars:
                        maxlength=Var: name=maxlength  value=6  jsType=null


        Field:
                key=                 country
                property=            country
                indexedProperty=     null
                indexedListProperty= null
                depends=             required,maxLength
                page=                0
                fieldOrder=          0
                Vars:
                        maxlength=Var: name=maxlength  value=50  jsType=null


        Field:
                key=                 foundDate
                property=            foundDate
                indexedProperty=     null
                indexedListProperty= null
                depends=             date
                page=                0
                fieldOrder=          0
                Vars:
                        datePatternStrict=Var: name=datePatternStrict 
value=dd/MM/yyyy  jsType=null


        Field:
                key=                 id
                property=            id
                indexedProperty=     null
                indexedListProperty= null
                depends=             required
                page=                0
                fieldOrder=          0
                Vars:

Here is my validation.xml:

<form-validation>
        <global>
                <constant name="phone" value="^\(?(\d{3})\)?[-| ]?(\d{3})[-| 
]?(\d{4})$"/>
                <constant name="zip" value="^\d{5}\d*$"/>
        </global>
        <formset>
                <constant name="zip" value="^\d{5}(-\d{4})?$"/>
        <form name="assetForm">
          <field property="name" depends="required"> 
              <arg0 key="label.name"/>
          </field>
          <field property="description" depends="required">      
            <arg0 key="label.description"/>
          </field>
          <field property="mediaFile" depends="required">      
            <arg0 key="label.mediaFile"/>
          </field>
          <field property="typeCode" depends="required,integer">
            <arg0 key="label.assetType"/>
          </field>
          <!--field property="categoryCode" depends="integer">
            <arg0 key="label.category"/>
          </field-->
        </form>
        <form name="userForm">
          <field property="email" depends="required"> 
            <arg0 key="label.email"/>
          </field>
          <field property="password" depends="required,twofields">      
            <arg0 key="label.password"/>
            <arg1 key="label.confirm.password"/>
              <var>
                 <var-name>secondProperty</var-name>
                 <var-value>confirmPassword</var-value>
              </var>
          </field>
          <field property="firstName" depends="required"> 
              <arg0 key="label.firstName"/>
          </field>
          <field property="lastName" depends="required">      
            <arg0 key="label.lastName"/>
          </field>
          <field property="passwordHint" depends="required">      
            <arg0 key="label.passwordHint"/>
          </field>
          <field property="organization" depends="required">      
            <arg0 key="label.organization"/>
          </field>
          <field property="address" depends="required">      
            <arg0 key="label.address"/>
          </field>
        </form>
        <form name="userActivityForm">
          <field property="updateDate" depends="required"> 
            <arg0 key="label.dateCompleted"/>
          </field>
        </form>
     </formset>
</form-validation>

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

Reply via email to