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 looking for?

Lutz


On 8/16/07, Marcelo C. de Freitas [EMAIL PROTECTED] wrote:
 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.


 --
 Marcelo C. Freitas


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



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 [EMAIL PROTECTED]:
 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 looking for?

 Lutz


 On 8/16/07, Marcelo C. de Freitas [EMAIL PROTECTED] wrote:
  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.
 
 
  --
  Marcelo C. Freitas
 

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




-- 
Marcelo C. Freitas

IM's:
MSN: [EMAIL PROTECTED]
ICQ: 24263609
Jabber: [EMAIL PROTECTED]
GTalk: [EMAIL PROTECTED]
Yahoo: baterausp

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



[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.


-- 
Marcelo C. Freitas

IM's:
MSN: [EMAIL PROTECTED]
ICQ: 24263609
Jabber: [EMAIL PROTECTED]
GTalk: [EMAIL PROTECTED]
Yahoo: baterausp

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