Class FilterForm<T>

    • Method Detail

      • generateHiddenInputMarkup

        protected String generateHiddenInputMarkup()
        Generates the Markup for the hidden input. Can be overridden by subclasses if necessary.
        Returns:
        The markup to be appended to the response
      • getFocusTrackerFieldCssId

        public final String getFocusTrackerFieldCssId()
        Returns:
        css id of the hidden form input that keeps track of the focused input field
      • enableFocusTracking

        public final void enableFocusTracking​(FormComponent<?> fc)
        Adds behavior to the form component to allow this form to keep track of the component's focus which will be restored after a form submit.
        Parameters:
        fc - form component
      • getFocusTrackingHandler

        public final String getFocusTrackingHandler​(Component component)
        Returns the javascript focus handler necessary to notify the form of focus tracking changes on the component Useful when components want to participate in focus tracking but want to add the handler their own way. A unique css id is required on the form component for focus tracking to work.
        Parameters:
        component - component to
        Returns:
        the javascript focus handler necessary to notify the form of focus tracking changes on the component