On Wed, 24 Oct 2012 20:09:50 -0200, sommeralex <alexander.som...@gmail.com> wrote:

Hello!

Hi!

I have a user class with a specific value, in my case a cash value. I am
showing this cash value in a widget via ${user.cash}. If the user is logged in on the server, and the cash is changed for whatever reason, i would like to auto update this value. Currently, the user has to re-login to get an
updated cash value - sure, this is not what I want.
Is the only possible solution making a periodic zone updater, or is there
something else i could use?

I think you can either use a periodic zone updater (examples from JumpStart: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/periodicupdatemixin, http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/periodicupdate) or use something like tapestry-cometd (https://github.com/uklance/tapestry-cometd).

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to