0

I am working on a JSF application that connects with Twitter. In one of my views, I have a button that when clicked, calls a method that connects with a Twitter account retrieving new tweets and doing some processing on them.

Next to the button I want to let the user to set a timer in order that this action is done automatically. For example if the user selects '2minutes', Twitter must be checked every 2 minutes automatically and the results be refreshed.

Can someone help with some general explanations how can I do this?

4

1 に答える 1

2

この投票を見てください - 開始/停止

あなたの場合

interval="#{myBean.someIntervalNum}" 

等々...

于 2012-06-03T11:28:19.213 に答える