Is there an activity indicator in Wicket?

我的未来我决定 提交于 2019-12-01 10:23:27

问题


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.


回答1:


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 ?




回答2:


Check here to generate your own 'activity indicator'.

Simply show it when busy & hide it afterwards.




回答3:


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



来源:https://stackoverflow.com/questions/5582084/is-there-an-activity-indicator-in-wicket

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