You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/03/30 07:24:28 UTC

t5: global variable for the app, invalidated daily

Hi,

I need to have a global variable for the entire t5 application to access,
and this global variable has to be re-created every day, any idea how to
achieve this? 

Thanks,

Angelo
-- 
View this message in context: http://www.nabble.com/t5%3A-global-variable-for-the-app%2C-invalidated-daily-tp22776606p22776606.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: t5: global variable for the app, invalidated daily

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Mon, 30 Mar 2009 02:24:28 -0300, Angelo Chen  
<an...@yahoo.com.hk> escreveu:

> Hi,

Hi!

> I need to have a global variable for the entire t5 application to access,
> and this global variable has to be re-created every day, any idea how to
> achieve this?

Instead of a global variable, you can use a simple service that has a  
method that returns that value.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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