you have getbehaviors() and removebehavior(), the rest belongs in some
WicketUtil class you write.

-igor


On 8/10/07, Sean Sullivan <[EMAIL PROTECTED]> wrote:
>
> The Component class provides a method for removing a single IBehavior
> object:
>
>     public Component remove(final IBehavior behavior)
>
>
> Is there a similar method that will allow me to remove all IBehaviors of a
> certain type?
>
> I'd like to be able to do this:
>
>
>    Panel p;
>    ...
>    p.removeBehaviorsWithType(Clazz behaviorClass);
>
>
> Suggestions?
>
>
> Sean
>

Reply via email to