You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/06/03 16:54:41 UTC

[jira] [Created] (WICKET-5917) Do not use jQuery's $ in String snippets in Java code

Martin Grigorov created WICKET-5917:
---------------------------------------

             Summary: Do not use jQuery's $ in String snippets in Java code
                 Key: WICKET-5917
                 URL: https://issues.apache.org/jira/browse/WICKET-5917
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.19.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


Wicket components and behaviors should not use jQuery's '$' in JS generated by Java code.

This will break if:
1) the application uses custom wicket-ajax.js (IJavaScriptLibrarySettings#setWicketAjaxReference()) that is not based on jQuery
2) the application use jQuery.noConflict()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)