On Thu, Feb 15, 2001 at 06:07:00AM -0500, Ethan Adams wrote:
> I'm not sure if my title fits this question but here it goes...
> 
> I want to be able to access a variable, let's say $appVersion, from all my screens 
>and layouts without having to explicity set it in all my screen classes.
> 
> I figured I could put it in a properties file...Now how would I get access to it in 
>my *.vm files?  Do extend the VelocityScreen class and add it there?

Have a look at Jason's TurbinePullService and the UIManager example.
Basically you turn on the PullService in TR.properties and can then
specify classes that are loaded into an application-wide toolbox.

-- 
Sean Legassick
[EMAIL PROTECTED]
                                  homo sum: humani nihil a me alienum puto



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to