I think that you have a design problem. You should pull up the common functionality to an abstract class (AbstractTableView) which extends View, and both TableView & MyTableView should extend the AbstractTableView.
Regards, Alex. buealb wrote: > > Because I have a lot of functionality in TableView that I want to use... > > > Alex Objelean wrote: >> >> Since you want to redefine the markup of the TableView.html, why just not >> to extend the View.html? >> >> >> buealb wrote: >>> >>> Hi, >>> >>> I have this situation: >>> >>> View.html >>> >>> <border> >>> .. >>> <child/> >>> .. >>> </border> >>> >>> >>> TableView.html (extends of View) >>> >>> <extend> >>> .. >>> <child/> >>> .. >>> </extend> >>> >>> >>> MyTableView.html (extends of TableView) >>> >>> <extend> >>> .. >>> </extend> >>> >>> In this case, MyTableView is extending by default the markup of >>> TableView, because I'm extending of TableView. >>> But in other cases, (MyTableView2) I would like to extend of TableView, >>> but I would like to extend the markup of the View directly. I don't want >>> to use the markup of the TableView, if is necessary I'll redefine the >>> markup of the TableView in my MyTableView2... >>> >>> Do you understand me? Are there a solution for that? >>> >>> Thanks >>> >>> >>> >>> >>> >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Extending-parent-of-the-parent-markup-tf4895764.html#a14041704 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]