Howdy:

I created an extension of AjaxSubmitLink that accepts a static html form id
string as an argument (AjaxFormSubmitBehavior forces setOutputMarkupId on
the Form by default).  In so doing, I extended AjaxFormSubmitBehavior... and
then I add this custom behavior to my custom AjaxSubmitLink.  

My question is: what is the proper way of removing / overriding the old
AjaxFormSubmitBehavior that's added by the parent class?  I am currently
doing a MarkupContainer.removeAll() on the link before I add my custom
behavior (this seems to work fine), but that seems wrong and potentially
dangerous.

Thanks for any help...

NateBot2000
-- 
View this message in context: 
http://www.nabble.com/Custom-AjaxFormSubmitBehavior-tf4481784.html#a12780167
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to