Hi Ernesto, I read the url-member by script from an attribute, we prev. added via AttributeAppender.
This is how I execute my ajax call: $.ajax({ url : url, type : 'POST', . . . success: function(data, textStatus, jqXHR){ self.processAjaxResponse(data, textStatus, jqXHR, data, textStatus); }, error: function() { alert("error"); } }); Patrick Am 23.04.2014 15:09, schrieb Ernesto Reinaldo Barreiro: > How do you "call" server side AJAX behavior? > > > On Wed, Apr 23, 2014 at 3:01 PM, Patrick Davids < > patrick.dav...@nubologic.com> wrote: > >> Hi all, >> >> due to a very complex gui panel with many javascript we are using a >> quite pure AbstractAjaxBehavior. >> >> I print out a callback url, I call it, and so on... and having an >> onRequest() what nearly does the same as AbstractAjaxDefaultBehaviors >> (just a bit different). >> Its copy-paste, but I dont know how to solve it in a better way. >> >> Everything looks good, so far... >> >> BUT... >> when I add some components to the AjaxRequestTarget, the client-side >> does not evaluate it. >> >> So, I had another look at wicket javascripts and found a js method >> named, which is used on success: >> >> self.processAjaxResponse(data, textStatus, jqXHR, data, textStatus); >> >> "Hmm... should do what I want"... >> >> So I put it in my manuall Ajax.Calling scripts as success function, but >> still nothing happens. >> >> >> Is there any magic evaluating the ajax-responses? >> Can someone give my an hint? >> >> Thanx a lot >> Patrick >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org