I'm developing a project under Wicket 1.5 which uses jQuery.
I've been using Wicket 1.4 before, and I'm used to call Wicket Java code from JavaScript with
function callWicket() {
var wcall = wicketAjaxGet('$url$' + '$args$', function() { }, function() { });
}
As seen in Calling Wicket from Javascript. It works fine under Wicket 1.4.
But when I do this on Wicket 1.5, I receive this response,
<ajax-response>
<redirect>?0</redirect>
</ajax-response>
which redirects to the page and destroys the Ajax flow..
(I've seen Javascript in Wicket 1.5, but my question is the other side of the behaviour...)
I'm using this to control hashtag (#tag) history in browers, in conjunction with jQuery and jQuery history. Alternatively, is there another method to control hashtag with Wicket 1.5 ?
thanks!!