But you cannot do multiple inheritance. You can do aggregations
Dennis Seah. won't this be multiple inheritance ?
sap.m.Panel.extend("BasePanel",{ renderer : {} }); BasePanel.extend("SubPanel",{ renderer : {} }); var subPanel = new SubPanel();
But you cannot do multiple inheritance. You can do aggregations
Dennis Seah. won't this be multiple inheritance ?
sap.m.Panel.extend("BasePanel",{ renderer : {} }); BasePanel.extend("SubPanel",{ renderer : {} }); var subPanel = new SubPanel();