Long running Plone operation with AJAX progress bar

大憨熊 提交于 2019-12-24 18:06:16

问题


I'd like to run tasks in Plone which take long time to complete (minutes). For the duration of the task I could present a progress bar using AJAX.

Are there any ready Plone libraries / add-ons which allow you to serialize task to pieces and give AJAX status report automatically, without need to manually split and maintain the long running task state on the server?

E.g.

  • You start the task with start() method

  • Task gives status with getStatus() or similar

  • Framework will handle making the task asynchronous and has front-end code to follow the task status


回答1:


netsight.async can do this.



来源:https://stackoverflow.com/questions/10306661/long-running-plone-operation-with-ajax-progress-bar

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