Hi,

You can
use org.apache.wicket.ajax.AjaxRequestTarget.IListener#onBeforeRespond(Map,
AjaxRequestTarget) and remove entries from the map.
See
https://github.com/apache/wicket/blob/master/wicket-core/src/test/java/org/apache/wicket/ajax/GlobalUpdateAjaxAttributesTest.java#L40
for how to setup.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Nov 24, 2014 at 1:47 PM, Andre Camilo <
[email protected]> wrote:

> Hi all,
>
> I'm trying to create a component that has better Ajax support for
> ListViews with Form components. I'm doing this by making diffs on the List
> for each ajax request and reordering the elements with javascript.
>
> Now I'm trying to remove my component from AjaxRequestTarget beforeRender
> because of the "ajax repeater" exception.
>
> I know I have alternatives to *target.remove(ajaxListView)*, but wouldn't
> this be a good thing?
> The ability to remove components from AjaxResponse at certain stage in the
> rendering process?
>
> Thanks :)
>
> --
>
> André Camilo
> Software Architect
>
> Premium Minds
> Av. Marquês de Tomar nº69, 1º Andar
> 1050-154 Lisboa
> www.premium-minds.com<http://www.premium-minds.com/>
>
> Geral: +351 217 817 555
> Tlm: +351 914 515 010
> [email protected]<mailto:[email protected]>
>

Reply via email to