Spinner component in Wicket?

[亡魂溺海] 提交于 2019-12-11 13:13:36

问题


Where can I find a spinner component for Wicket?, including Maven repo and a source code example?


回答1:


wicketstuff-minis has an implementation of a spinner. There is also a wicketstuff-minis-examples project

The maven repos are:

<dependency>
    <groupId>org.wicketstuff</groupId>
    <artifactId>minis</artifactId>
    <version>1.4.17.2</version>
</dependency>

and

<dependency>
    <groupId>org.wicketstuff-examples</groupId>
    <artifactId>minis</artifactId>
    <version>1.4.17.2</version>
</dependency>



回答2:


Let your component implement IAjaxIndicatorAware and provide it with the markup ID for your spinner, or use IndicatingAjaxLink, IndicatingAjaxFallbackLink and IndicatingAjaxButton.



来源:https://stackoverflow.com/questions/6273860/spinner-component-in-wicket

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!