On Dec 17, 2007 10:33 PM, Artur W. <[EMAIL PROTECTED]> wrote:

>
> The component doesn't refresh. Only for the last time. How to make it
> work?
>

that's because the response is sent *AFTER* loop is over, not when
target.addComponent(..) is called.
what you need is a AjaxSelfUpdatingTimerBehavior, override
onPostProcessTarget and do counter = counter +1; in there.

hth,
  Gerolf


>
>
> Thanks,
> Artur
>
> --
> View this message in context:
> http://www.nabble.com/How-to-refresh-component-many-times-in-one-ajax-request-tp14374053p14374053.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to