Module org.apache.myfaces.tobago
Interface TabGroupTagDeclaration
- All Superinterfaces:
HasAction,HasActionListener,HasAutoSpacing,HasBinding,HasId,HasIdBindingAndRendered,HasTip,IsImmediateCommand,IsRendered,IsVisual
public interface TabGroupTagDeclaration
extends HasIdBindingAndRendered, IsImmediateCommand, HasAction, HasActionListener, IsVisual, HasTip, HasAutoSpacing
Renders a tab group which contains tab panels.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetRenderedIndex(String renderedIndex) For internal use.voidsetSelectedIndex(String selectedIndex) ValueBindingExpression pointing to a Integer to save the component's selected Tab.voidsetShowNavigationBar(String showNavigationBar) Flag indicating that the tab navigation bar is rendered.voidsetSwitchType(String switchType) Indicating how tab switching should be done.voidsetTabChangeListener(String listener) Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAction
setActionMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasActionListener
setActionListenerMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAutoSpacing
setAutoSpacingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBindingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTip
setTipMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsImmediateCommand
setImmediateMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRenderedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual
setCustomClass, setMarkup
-
Method Details
-
setSwitchType
Indicating how tab switching should be done.
Possible values are:
- client
- Tab switching is done on client, no server Request.
- reloadPage
- Tab switching is done by server request. Full page is reloaded.
- reloadTab
- Tab switching is done by server request. Only the Tab is reloaded.
- Parameters:
switchType- Sets the switching type.
-
setSelectedIndex
ValueBindingExpression pointing to a Integer to save the component's selected Tab. -
setRenderedIndex
For internal use. TBD: Check if this is needed any longer. -
setTabChangeListener