Hi All, Thanks for all the responses. I got this solved by making my behavior extend AbstractHeaderContributor. In its getHeaderContributors() I return the list of headers only if response is not ajax. In case of ajax I simply return null.
Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 30, 2010 at 3:44 AM, DV <danielavalero...@gmail.com> wrote: > > Another more complicated way seems to be using SharedResources and > DynamicWebResources, an example of this, you can find it on > "UploadStatusResource" class of > wicket.extensions.ajax.markup.html.form.upload package > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Strip-header-contributors-from-Ajax-response-tp2019993p2076272.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >