I would recommend to use
https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-9.x/bootstrap-extensions/src/main/java/de/agilecoders/wicket/extensions/markup/html/bootstrap/ladda/LaddaAjaxButton.java
works for as

On Mon, 17 Jan 2022 at 16:33, Michelle Ee Siew Phing
<[email protected]> wrote:
>
> Hi,
>
> Thanks for the information. I have checked the differences between the
> provided example and my codes and found the place that is causing the
> problem.
>
> We are using Wicket Bootstrap 5.0.5 with Wicket 9.5.0, and found the
> following in bootstrap.css
>
> [hidden] {
>   display:none !important;
> }
>
> This takes precedence over the display:inline.
>
> Is there a workaround?
> Thanks
>
>
>
> On Mon, Jan 17, 2022 at 3:07 PM Martin Grigorov <[email protected]>
> wrote:
>
> > 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 <
> > [email protected]> 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
> > >
> >



-- 
Best regards,
Maxim

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

Reply via email to