I found what I was looking for.

this is basically what I have done.

In my page:

public class FooPage extends WebPage implements IAjaxIndicatorAware {
    private WebMarkupContainer indicator;

    public FooPage() {
       // snip

        indicator = new WebMarkupContainer( "indicator" );
        indicator.setOutputMarkupId(true);
        add( indicator );

       // snip
    }

     public String getAjaxIndicatorMarkupId() {
                return indicator.getMarkupId();
    }
}

in FooPage.html:

resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif 
Processing...

I implemented IAjaxIndicatorAware at the page level so all Ajax related
behaviors/components will utilize this indicator.

Hope that helps others...

- Doug
-- 
View this message in context: 
http://www.nabble.com/Ajax-Indicator-Example--tp20586418p20588406.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to