protected void createTabModel() { if (tabModel == null) { AMViewConfig amconfig = AMViewConfig.getInstance(); tabModel = amconfig.getTabsModel( ServerEditViewBeanBase.TAB_NAME, "/", getRequestContext().getRequest()); registerChild(TAB_COMMON, CCTabs.class); } }
protected void createTabModel(String serverName) { AMViewConfig amconfig = AMViewConfig.getInstance(); tabModel = amconfig.getTabsModel( ServerEditViewBeanBase.TAB_NAME, "/", getRequestContext().getRequest()); if (serverName.equals(ServerConfiguration.DEFAULT_SERVER_CONFIG)) { CCNavNode node = (CCNavNode) tabModel.getNodeById(425); tabModel.removeNode(node); } registerChild(TAB_COMMON, CCTabs.class); }