org.apache.wicket.ajax
Interface IAjaxIndicatorAware
public interface IAjaxIndicatorAware
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)
getAjaxIndicatorMarkupId
String getAjaxIndicatorMarkupId()
- Returns:
- the value of the markup id attribute of the indicating element
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.