AjaxRequestTarget creates it by default. Only when a redirect is needed ServletWebResponse creates it.
On Thu, Apr 14, 2011 at 4:10 PM, Brown, Berlin [GCG-PFS] < [email protected]> wrote: > Where is the code to process the ajax-response, the java code? > > -----Original Message----- > From: Martin Grigorov [mailto:[email protected]] > Sent: Thursday, April 14, 2011 9:56 AM > To: [email protected] > Subject: Re: Ajax Response and a Redirect, anyone seen this > > the code is in wicket-ajax.js > > you Ajax callback lead to an error and thus the redirect to your > internal error page > > On Thu, Apr 14, 2011 at 3:46 PM, Brown, Berlin [GCG-PFS] < > [email protected]> wrote: > > > https://gist.github.com/918794 > > > > Has anyone seen this, where is the code to process an ajax-response. > > > > > > POST /life/launch/?wicket: > > interface=:23:navigationPanel:nextLink::IActivePageBehaviorListener:1: > > -1 > > &wicket:ignoreIfNotActive=true&random=0.006311339758800216 HTTP/1.1 > > Accept: text/xml > > Accept-Language: en-us > > wicket-ajax: true > > Referer: https://mysite/launch/ > > wicket-focusedelementid: idc96 > > Content-Type: application/x-www-form-urlencoded > > UA-CPU: x86 > > Accept-Encoding: gzip, deflate > > User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET > > CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) > > Host: mysite > > Content-Length: 457 > > Connection: Keep-Alive > > Cache-Control: no-cache > > > > > > idc9e_hf_0=&firstName=SP > > > > > > HTTP/1.1 200 OK > > Date: Wed, 13 Apr 2011 19:24:37 GMT > > Server: IBM_HTTP_Server > > Ajax-Location: ?wicket:bookmarkablePage=:theapplife.errors.ErrorPage > > Content-Length: 121 > > Keep-Alive: timeout=10, max=97 > > Connection: Keep-Alive > > Content-Type: text/xml > > Content-Language: en-US > > > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
