According to the Tapestry 4 javadoc, the  method 
IEngine.getPropertySource()  has been deprecated.
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IEngine.html

It is  now being injected. 
Please also see the following doc on how to inject
something into a page.
http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html

Note that I have not tried it myself.

Shing


--- Alan Chandler <[EMAIL PROTECTED]> wrote:

> In my component I am try to get the property value
> "menu-items" from the 
> application properties file.
> 
> My code has
> 
>
getPage().getEngine().getPropertySource().getPropertyValue("menu-items");
> 
> but eclipse is telling me that getPropertySource()
> is depreciated
> 
> a) What should I do instead?
> b) There is no indication in the documentation
> (UserGuide - Tapestry Object 
> Properties) that this is the case.
> 
> 
> -- 
> Alan Chandler
> http://www.chandlerfamily.org.uk
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


                
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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

Reply via email to