I think you mean
org.​apache.​wicket.​behavior.​AbstractAjaxBehavior#getComponent()

Witold

Am Fri, 27 Feb 2009 08:15:03 -0500
schrieb Will Jaynes <[email protected]>:

> I'm trying to write a class that extends OnChangeAjaxBehavior.  Is there a
> way, in the update method, to get the component to which the behavior has
> been added? I just don't see how. Should it just be added via the
> constructor?
> 
> component.add(new MyOnChangeAjaxBehavior(component));
> 
> This doesn't seem right to me, but maybe that's the way?
> 
> Thanks for any info, Will

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to