In Wicket if we want to do something before and after every ajax call
we would do that by registering the wicket ajax callbacks as follows.
Most of the time we need to update or add event handlers or do some
initialization on the newly added DOMs. But we don’t know Which DOMs
are updated by wicket.wicket doesn’t call our post handlers with the
list of newly added DOMs.
It is very easy to do it by ourself.Ok let start by creating a Ajax
Now we finished our client side work. Ok let start our server side work.
Add this function to your base class;
Now if we want to intialize something on the newly added DOMs simply
we can call this method and a event with the list of updated DOMs will
be fired on the client side.