Vladimir Zavada <zavadav <at> gmail.com> writes:
> 
> Thanks for reply.
> I am just newbie to wicket.
> I tried this solution but it did not work. Probably its because 
> AbstractAjaxTimerBehavior is not a component and I am not able to set 
> setOutputMarkupId to true.
> 
> Vlado
> 
> Tom Wollert  wrote / napĂ­sal(a):
> > Hi there,
> >
> > Couldn't you just add the AbstractAjaxTimerBehavior to the page/component
> > after you receive the ajax call from the onSubmit event and then update the
> > component using the ajax request target? (untested, but I don't see a reason
> > why it wouldn't work. could imagine that this solution might not be as
> > elegant as hoped)
> >
> > - Tom
> >

    You don't have to set setOutputMarkupId to true in
AbstractAjaxTimerBehavior, you just need to add it to the component that you
want activated on timer, for example your page.

hth,

Daniel



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

Reply via email to