Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5729

Avoid using input names that conflict with JavaScript DOM API method and attribute names

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.17.0
    • Fix Version/s: 6.18.0, 7.0.0-M4
    • Component/s: wicket
    • Labels:
      None

      Description

      If you use input names that conflict with JavaScript DOM API method and attribute names the ability to use the DOM method/attribute on the form element is hampered.

      For example, JQuery stops working if you have a form control with input name "nodeName" (<select name="nodeName">).

      This is because form.nodeName is no longer a string, but is a element. JQuery expects element.nodeName to return a string and exceptions ensue.

        Attachments

          Activity

            People

            • Assignee:
              jesselong Jesse Long
              Reporter:
              jesselong Jesse Long
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: