I have a Wicket v6 page with couple of AjaxButtons. When the AjaxButton is clicked, am opening a modal window using jQuery ui Dialog passing the URL of a second page. The second wicket page also has a AjaxButton. When wicket fetches the second page using Ajax to be rendered in the modal window, it loads jQuery js again.
I think this causes issues and it gives me error subsequently "jQuery(...).dialog is not a function". Is there a way I can tell Wicket to NOT to load the jQuery js when rendering the page in the modal window? Wicket Ajax components automatically add jQuery reference always. Am looking for a way to remove the jQuery reference before the page is rendered. Note: I am not using the Wicket extension for Modal Window. Am using jQuery UI Dialog directly to open modal window. But I think the problem of jQuery getting loaded again will occur when Modal Window used also. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-jQuery-js-loaded-twice-when-modal-window-opened-tp4668156.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
