True; all you can get is the proxy, not the service itself.  I don't
have a solution for you on this, short of writing your own code to
read the app.properties file.

On Wed, Feb 8, 2012 at 7:14 AM, Miguel O. Carvajal
<tapes...@carvajalonline.com> wrote:
> I tried doing this but could not get the "properties" field from the Messages
> service.
>
> I am doing the following:
>
>
>        Messages messages = 
> componentMessagesSource.getApplicationCatalog(locale);
>
>        try {
>                Field f = messages.getClass().getDeclaredField("properties");
> //NoSuchFieldException here
>                f.setAccessible(true);
>        } catch(Exception e) {
>                e.printStackTrace();
>        }
>
> I get a NoSuchFieldException when trying to access that field.
>
> Maybe this is due to the type of service that Messages is?
>
> How could I use reflection to access that field?
>
> Thanks again,
>
> Omar
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Serialize-Messages-tp5463756p5466763.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to