Hi folks I use AjaxSubmitLink & AutoCompleteTextField on my wicket page. The AjaxSubmitLink works fine when I first access the page, but when I navigate away from the page and try the AjaxSubmitLink again, I get a javascript error. When I refresh the page, the AjaxSubmitLink works fine again.
Javascript error : "wicketAjaxGet is not defined" I took a look at the page source when I receive the error. The ajax javascript (see below) are missing in the header when I get the error. When I refresh the page, the ajax javascript is back in the header. JavaScript snippet from the header of page: <script type="text/javascript" src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js"></script> <script type="text/javascript" src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js"></script> <script type="text/javascript" src="/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script> Is this a bug in wicket 1.2.6? Or is anyone familiar with a fix to this? I did a search in the forums but I did not find a solution to this problem fyi... I inject the CSS for the page using HeaderContributor Let me know if you need more information while I take a crack at this issue in the meantime -- View this message in context: http://www.nabble.com/wicketAjaxGet-is-not-defined..-javascript-error-tf4891958.html#a14008494 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
