Hi,

Please check https://examples9x.wicket.apache.org/ajax/links.
The third link demostrates usage of IndicatingAjaxLink.
When clicked it adds style="display:inline" and removes "hidden".
Its source code could be found at
https://github.com/apache/wicket/blob/63c5fe205de1bea293e3b36ca8e0426b343ccafa/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LinksPage.java
Please compare it with your app!
If you are not able to find the problem then please create a mini demo
application and share it with us!

On Mon, Jan 17, 2022 at 6:08 AM Michelle Ee Siew Phing <
michelle...@mcruncher.com> wrote:

> Hi,
>
> I am having issues with the loading icon on the IndicatingAjaxButton and
> IndicatingAjaxLink. Previously I'm on Wicket 9.0.0-M4 and it was working
> fine. But after upgrading to Wicket 9.0.0-M5 (and later versions), I'm not
> able to see the loading icon any longer.
>
> I checked further in the code that the AjaxIndicatorAppender now has the
> hidden attribute instead of the style=display:none. However, when I click
> the IndicatingAjaxButton, it will still append the style=display:inline as
> before (but due to the hidden attribute, the icon will not show).
>
> Is there anything else during the upgrade that I needed for the
> IndicatingAjaxButton (and link) to work?
> Please advise.
>
> Thank you. Regards.
> Michelle
>

Reply via email to