【发布时间】:2013-09-16 17:56:22
【问题描述】:
所以我尝试使用 a4j:poll 每秒从循环中轮询一个计数器。
如果我有这样的循环:
while(fileCount != 100){
//count the # of files in dir, assuming these files are being downloaded to the dir
//so the # of files is always changing
}
我的问题:即使循环仍在执行,是否可以使用 a4j:poll 来检查到目前为止已下载了多少文件?
【问题讨论】:
标签: jsf richfaces polling ajax4jsf