return new TabbedPanel(stack, req, res);
super.populateParams(); TabbedPanel tabbedPanel = (TabbedPanel) component; tabbedPanel.setSelectedTab(selectedTab); tabbedPanel.setCloseButton(closeButton); tabbedPanel.setDoLayout(doLayout); tabbedPanel.setLabelposition(labelPosition); tabbedPanel.setTemplateCssPath(templateCssPath);
this.closeButton = closeButton;
this.doLayout = doLayout;
this.selectedTab = selectedTab;
this.templateCssPath = templateCssPath;