i think we should be thinking of a remove(IBehavior)
It is pretty in line with the rest (think about Swing listeners)
And it doesn't sit in the way as far as i can think of.

johan


On 5/2/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

you cannot remove a behavior currently. what you can do is call stop() on
the timerbehavior.

-igor


On 5/2/07, Ivo van Dongen < [EMAIL PROTECTED]> wrote:

> Hi,
>
> We have a component with an AjaxSelfUpdatingTimerBehavior attached to
> it. When a certain condition is reached we want to remove the behaviour from
> its parent before updating it again, to prefent it from going on forever. We
> couldn't find a way for this. Component has a remove() method, but
> IBehaviour does not. What is the preferred way to do this?
>
> Thanks in advance,
> Ivo van Dongen
>
> --
> Ivo van Dongen
> Func. Internet Integration
> W http://www.func.nl
> T +31 20 4230000
> F +31 20 4223500
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to