[ 
https://issues.apache.org/jira/browse/WICKET-5729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14194384#comment-14194384
 ] 

ASF subversion and git services commented on WICKET-5729:
---------------------------------------------------------

Commit dd1d6c6c5b82f917505b9b889912cd4523b93e1a in wicket's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=dd1d6c6 ]

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

Fix the selectors in the Gym.js tests


> 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
>            Assignee: 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)

Reply via email to