On Thu, Sep 24, 2009 at 11:40 AM, Jason Novotny <[email protected]>wrote:

>
> Hi,
>
>   I have a DropDownChoice that triggers an ajax event to occur using the
>  AjaxFormComponentUpdatingBehavior. Since the event takes a little while to
> complete, I'd like to display  an ajaxindicator similar to an
> IndicatingAjaxButton next to it... how can this be done?
>

Have a look at this code, line #137 and #159

http://code.google.com/p/perfbench/source/browse/trunk/perfbench/wicket-jpa/src/main/java/wicketjpa/wicket/MainPage.java#137

In the HTML, use something like:

<img id="spinner" src="img/spinner.gif" style="display:none"/>

You can also use an Image component and get the markupId generated by wicket
instead of hardcoding "spinner" etc.  Hope this helps.

- Peter.



>
>   Thanks, Jason
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to