next.setOmit(true); // avoid submit
ComponentUtils.putDataAttribute(next, "tobago-tabgroup-toolbar-next", "n");
// all: sub menu to select any tab directly
final UICommand all = (UICommand) CreateComponentUtils.createComponent(
facesContext, UICommand.COMPONENT_TYPE, null, viewRoot.createUniqueId());
all.setOmit(true); // avoid submit
final UIMenu menu = (UIMenu) CreateComponentUtils.createComponent(
facesContext, UIMenu.COMPONENT_TYPE, RendererTypes.MENU, viewRoot.createUniqueId());
menu.setTransient(true);