Class AjaxBootstrapTabbedPanel<T extends ITab>

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class AjaxBootstrapTabbedPanel<T extends ITab> extends BootstrapTabbedPanel<T>
Styled version of AjaxTabbedPanel.
See Also:
  • Constructor Details

    • AjaxBootstrapTabbedPanel

      public AjaxBootstrapTabbedPanel(String id, List<T> tabs)
    • AjaxBootstrapTabbedPanel

      public AjaxBootstrapTabbedPanel(String id, List<T> tabs, IModel<Integer> model)
  • Method Details

    • newLink

      protected WebMarkupContainer newLink(String linkId, int index)
      Overrides:
      newLink in class BootstrapTabbedPanel<T extends ITab>
    • onAjaxUpdate

      protected void onAjaxUpdate(Optional<AjaxRequestTarget> targetOptional)
      A template method that lets users add additional behavior when ajax update occurs. This method is called after the current tab has been set so access to it can be obtained via TabbedPanel.getSelectedTab() .

      Note Since an AjaxFallbackLink is used to back the ajax update the target argument can be null when the client browser does not support ajax and the fallback mode is used. See AjaxFallbackLink for details.

      Parameters:
      targetOptional - ajax target used to update this component