Jesse Long created WICKET-5729: ---------------------------------- Summary: Avoid using input names that conflict with JavaScript DOM API method and attribute names Key: WICKET-5729 URL: https://issues.apache.org/jira/browse/WICKET-5729 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 6.17.0 Reporter: Jesse Long Priority: Minor Fix For: 6.18.0, 7.0.0-M4
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)