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

public class GoFilter extends Panel
Filter component that generates a 'go' button that when pressed submits the filter form
Author:
Igor Vaynberg (ivaynberg)
See Also:
  • Field Details

  • Constructor Details

    • GoFilter

      public GoFilter(String id)
      Constructor This constructor will use the default model for the button's text
      Parameters:
      id - component id
    • GoFilter

      public GoFilter(String id, IModel<String> goModel)
      Constructor
      Parameters:
      id - component id
      goModel - model for the button's text
  • Method Details

    • getGoButton

      protected Button getGoButton()
    • onGoSubmit

      protected void onGoSubmit(Button button)
      This method can be overridden by subclasses to provide non-standard behavior for the 'go' button.
      Parameters:
      button - the 'go' button, can be used to get to the Form object and through that to the filter state object by retrieving the form's model object