Interface IAjaxIndicatorAware

  • All Superinterfaces:
    IClusterable, Serializable
    All Known Implementing Classes:
    IndicatingAjaxButton, IndicatingAjaxFallbackLink, IndicatingAjaxLink
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface IAjaxIndicatorAware
    extends IClusterable
    This interface makes it trivial to use busy indicators for ajax requests. This interface can be implemented by a component that has an ajax behavior attached to it, or any parent of the component, or by the ajax behavior itself. If this is the case javascript will be added automatically that will show a markup element pointed to by the getAjaxIndicatorMarkupId() markup id attribute when the ajax request begins, and hide it when the ajax requests succeeds or fails.

    If both a component and a behavior implement this interface, the component will take precedence.

    Since:
    1.2
    Author:
    Igor Vaynberg (ivaynberg)