开发者

Tapestry - update UI based on a backend event

I am using Tapestry 4.1. I have a process running 开发者_如何学Goin the background. Once the process completes, I want to refresh a text in my UI. I am new to tapestry. It would be helpful if somebody can point out tapestry components I can use for this purpose.


just like any web application, you will need to set up some kind of polling mechanism from your browser to your server (ie an ajax request on a timer).

i can't remember how i used to script ajax requests to event listeners in tapestry 4.1 but i do remember doing it.

i could tell you how to do it with tapestry 5 however.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜