354355356357358359360361362363364
if (!tabNamesSet.add(tab.getName())) { throw new FacesException(TABS_WITH_SAME_NAMES_ERROR); } tab.encodeTab(context, active); if (!tab.isDisabled()) { tabs.add(tabInfoCollector.collectTabInfo(context, tab)); } }
if(prevTab.getName().equals(tab.getName())){ throw new FacesException(TABS_WITH_SAME_NAMES_ERROR); }; } tab.encodeTab(context, active); if (!tab.isDisabled()) { tabs.add(tabInfoCollector.collectTabInfo(context, tab)); }
317318319320321322323324325326327
if (!clientSide) { clientSide = UISwitchablePanel.CLIENT_METHOD.equals(tab.getSwitchTypeOrDefault()); } tab.encodeTab(context, active); if (!tab.isDisabled()) { tabs.add(tabInfoCollector.collectTabInfo(context, tab)); } }
327328329330331332333334335336337