AjaxRequestTarget.IListener question

2014-02-05 Thread Tom Götz
Hi there, I’d like to add something to the AjaxRequestTarget at the very end“, i.e. I need to be the last one to add something to the target (because I need to check some preconditions that might change if the target is manipulated later on). Reading the Javadoc of

Re: AjaxRequestTarget.IListener question

2014-02-05 Thread Martin Grigorov
Hi, org.apache.wicket.ajax.AjaxRequestTarget.IListener#onBeforeRespond() is called after the action phase (e.g. onEvent, onSubmit) and before the rendering. Sounds like what you need. Martin Grigorov Wicket Training and Consulting On Wed, Feb 5, 2014 at 4:09 PM, Tom Götz t...@decoded.de wrote:

Re: AjaxRequestTarget.IListener question

2014-02-05 Thread Tom Götz
Ok, I was misinterpreting the Javadoc of org.apache.wicket.ajax.AjaxRequestTarget.IListener#onBeforeRespond: Triggered before ajax request target begins its response cycle“. That sounded to me as it was called *before* the action phase … Thanks for the hint, I will try that. Cheers, -Tom