Spinner component in Wicket?
Where can I find a s开发者_C百科pinner component for Wicket?, including Maven repo and a source code example?
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>
Let your component implement IAjaxIndicatorAware
and provide it with the markup ID for your spinner, or use IndicatingAjaxLink
, IndicatingAjaxFallbackLink
and IndicatingAjaxButton
.
精彩评论