Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-65

Validator doesn't pick up message replacement args

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: All
      Platform: PC

    • 20571

    Description

      When I use struts Validator Framework (in jakarta-struts-20030604.zip), I
      configured validation.xml as follows:

      <form-validation>
      <formset>
      <form name="testForm">
      <field property="testID" depends="required">
      <arg0 key="prompt.testID" />
      </field>
      </form>
      </formset>
      </form-validation>

      And I found that arg0 element doesn't work: struts prompt "null is required",
      not "testID is required". Then I test struts-example and found the same
      prompt "...null is required. null is required. null is required."!!!

      Attachments

        Activity

          People

            Unassigned Unassigned
            phoenixtrees@hotmail.com F.T.Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: