Commons Validator
  1. Commons Validator
  2. VALIDATOR-80

[validator] All validation fails when "name" attribute in form not specified

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0 Release
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      All validation fails when "name" attribute in a <form> is not specified. If
      a "name" attribute is not specified, the JavaScript should query the "id"
      property's value as it is legal for the "id" to be specified with the "name"
      left out (XHTML Strict).

      An example of this problem coming up is when the <html:xhtml/> is specified
      when using Struts. See All validation fails when "name" attribute in a <form> is not specified. If
      a "name" attribute is not specified, the JavaScript should query the "id"
      property's value as it is legal for the "id" to be specified with the "name"
      left out (XHTML Strict).

      An example of this problem coming up is when the <html:xhtml/> is specified
      when using Struts. See Bug 35127.

      A patch fixing this problem is supplied. It checks the id attribute if the
      name attribute is not specified..

      A patch fixing this problem is supplied. It checks the id attribute if the
      name attribute is not specified.

        Activity

        Zarar Siddiqi created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 35294 12342297
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s unspecified [ 12311647 ]
        Component/s Validator [ 12311135 ]
        Key COM-2145 VALIDATOR-80
        Project Commons [ 12310458 ] Commons Validator [ 12310494 ]
        Niall Pemberton made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Niall Pemberton made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 1.2.0 Release [ 12311749 ]
        Resolution Fixed [ 1 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Zarar Siddiqi
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development