I guess there are various ways to handle the common situation of having the
"same" form perform multiple actions (add, update, delete etc).  In your
case, with multiple panels, why not just have the one-and-only
implementation of onSubmit() (on the form in the panel superclass) call an
abstract method on your panel superclass e.g. onFormSubmit()?  Then you can
implement this method differently on each panel subclass.

Severian.
-- 
View this message in context: 
http://www.nabble.com/Inheritance--tf4279366.html#a12180640
Sent from the Wicket - User mailing list archive at Nabble.com.


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

  • Re: Inheritance? severian

Reply via email to