Oh, I just looked closer at Component.getBehaviors and see what to do.
Sorry...
I guess something along the lines of this would work?
List<IBehavior> list = this.getBehaviors(
Class.forName("AjaxFormSubmitBehavior") );
for ( IBehavior b : list )
{
this.remove(b);
}
NateBot
--
View this message in context:
http://www.nabble.com/Custom-AjaxFormSubmitBehavior-tf4481784.html#a12780424
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]