Yes. BaseEngine is extended and the methods are overwritten.

en.domain.com should be English and fr.domain.com should be French for example. 
However, as getInfrastructur() sometimes returns null, this is not working that 
way.....

-------- Original-Nachricht --------
Datum: Mon, 2 Jul 2007 08:51:55 +0200
Von: "Igor Drobiazko" <[EMAIL PROTECTED]>
An: "Tapestry users" <users@tapestry.apache.org>
Betreff: Re: getInfrastructure() is null

> Hi,
> 
> I'm not sure I understand what you want to do.
> What do you mean by "Inside BaseEngine's setLocale method".
> Do you have your own implementation of the IEngine interface or do you
> extend BaseEngine?
> 
> In both cases you have to tell tapestry to use your class. For that
> purpose
> you have the attribute 'engine-class' of your application specification.
> Is it the case?
> 
> On 7/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Inside BaseEngine's setLocale method, I want to overwrite the Locale,
> > depending on the domain name. However, getInfrastructure() returns null.
> >
> > How can I access the domain name alternatively?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

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

Reply via email to