Sorry I RTFM and worked it out for myself.

Thanks,
Craig

-----Original Message-----
From: Craig Spry [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 October 2008 4:18 PM
To: Tapestry users
Subject: [T4.1] Reading values from the app.properties file from a page class

Hello List,

I want to be able to get to the localized strings stored in the app.properties 
file from my java page class, I've tried to use:
engine.getInfrastructure().getApplicationPropertySource().getPropertyValue("value")

This didn't seem to work.  Is what I'm trying to do achievable?  If so what do 
I do to get this to work.

Thanks,

Craig Spry

If you are not an authorised recipient of this e-mail, please contact me at 
Redflex immediately by return phone call or by email. In this case, you should 
not read, print, retransmit, store or act in reliance on this e-mail or any 
attachments, and should destroy all copies of them. This e-mail and any 
attachments are confidential and may contain privileged information and/or 
copyright material of Redflex or third parties. You should only retransmit, 
distribute or commercialise the material if you are authorised to do so. This 
notice should not be removed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


If you are not an authorised recipient of this e-mail, please contact me at 
Redflex immediately by return phone call or by email. In this case, you should 
not read, print, retransmit, store or act in reliance on this e-mail or any 
attachments, and should destroy all copies of them. This e-mail and any 
attachments are confidential and may contain privileged information and/or 
copyright material of Redflex or third parties. You should only retransmit, 
distribute or commercialise the material if you are authorised to do so. This 
notice should not be removed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to