Re: [NOOB] Getting the Locale without injection

2007-08-16 Thread Lutz Hühnken
Hi, which Tapestry version are you referring to? And what exactly do you mean with in a final object - are you talking about a component? In what way is the final part relevant? In Tapestry 4.0.x, the BasePage provides getLocale() and getMessages() methods. But I guess that's not what you are

Re: [NOOB] Getting the Locale without injection

2007-08-16 Thread Marcelo C. de Freitas
Sorry about my confusion regarding final classes. I meant a object from a class that's not abstract. The thing is I'm not subclassing neither *Component nor *Page and I don't see this class working as or being constructed by a Hivemind service. I'm working with 4.1. 2007/8/16, Lutz Hühnken

[NOOB] Getting the Locale without injection

2007-08-15 Thread Marcelo C. de Freitas
Hello there, I want to get the page locale (and the page messages) in a final object without having to set them manually (meaning I can't do the @InjectObject stuff). Is there a way I can do that? I've looked for it into the Hivemind docs but I couldn't find anything really useful.