开发者

Is there an activity indicator in Wicket?

I'll make this short:

Is there a way / library in Wicket to show an activity indicator开发者_开发技巧? You know, the spinning thing that moves while the user is waiting for something, or is it just a javascript thing?

Thanks for your help.


If this is an ajax operation then you can look at the implementations of IAjaxIndicatorAware. These implementations will show a 'spinner' while the operation is processing.

e.g. IndicatingAjaxButton and IndicatingAjaxLink

You could also look at AjaxIndicatorAppender and alter it your own needs for non ajax things ?


Check here to generate your own 'activity indicator'.

Simply show it when busy & hide it afterwards.


I think this will help

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=87917

The Javascript and Css must be add in the renderHEad-Method

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜