You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Doug Leeper <do...@yahoo.com> on 2008/11/19 19:41:08 UTC
Ajax Indicator Example?
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Ajax Indicator Example?
Posted by Doug Leeper <do...@yahoo.com>.
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org