You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by brazz <al...@man.eu> on 2013/03/08 17:27:03 UTC

AjaxLazyLoadPanel update with target.addComponent

Hi,

i'm using a Table inside an AjaxLazyLoadPanel. 
The table should repaint lazy (with busy icon) when i call:

target.addComponent(AjaxLazyLoadPanel.this);

is this possible somehow?


i've read a post that i would have to replace the od AjaxLazyLoadPanel with
a new instance, but this would totally disrupt my design. Is this the only
way to do this?





--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-update-with-target-addComponent-tp4657120.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxLazyLoadPanel update with target.addComponent

Posted by brazz <al...@man.eu>.
found a solution.
Here is a class which can be used for every long running interactions for
which you have an AjaxRequestTarget available.
You can use it instead of AjaxLazyLoadPanel, when creating a new instance of
your class is inappropriate.
I used the concept of callback script in AjaxLazyLoadPanel and reorganized
the handling:

Usage of the class:



The class:

*



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-update-with-target-addComponent-tp4657120p4657320.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org