Re: Ajax Indicator Example?

2008-11-19 Thread Doug Leeper

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]



Ajax Indicator Example?

2008-11-19 Thread Doug Leeper

I am having problems understanding Ajax Indicators.  I have search high/low
for a working example and have been unsuccessful.

Is there any examples that shows what I need to do get an AjaxLink or
DropDownChoice w/ an AjaxFormChoiceComponentUpdatingBehavior to utilize an
indicator to show something is working?

Thanks
- Doug
-- 
View this message in context: 
http://www.nabble.com/Ajax-Indicator-Example--tp20586418p20586418.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]