ok - I now understand why we need it. so, you couldnt get rid and since
changing much would break api in several places I only have 3 ideas:

1. dont change it - would be safest way
2. create another constructor where the locale could be specified but dont
touch the current one so no api-breaks: would make it bit more easy to
change, but seems not big improvement 
3. add a "setLocale" method to default session - but im not sure here if its
that trivial to do so.

and another question from me to the Java-Locale system:

the locale consist of Language and Country, as far as i know e.g: de_DE;
en_US; en_GB;

can these values be changed in any combination I want or are they somehow
validated ? e.g: en_DE; de_US; 

Regards,

Korbinian



> -----Ursprüngliche Nachricht-----
> Von: Eelco Hillenius [mailto:[EMAIL PROTECTED] 
> Gesendet: Freitag, 5. Januar 2007 20:25
> An: [email protected]
> Betreff: Re: http://issues.apache.org/jira/browse/WICKET-151
> 
> Yep. Not to mention conversions etc.
> 
> Eelco
> 
> On 1/5/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> > Right.  It would be imposible to have MyPage_en.html or 
> > MyPage_en.properties if wicket didn't know about the locale.
> >
> > On 1/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > >
> > > of course wicket needs it - it needs to know which markup and 
> > > properties file to use.
> > >
> > > -igor
> > >
> > >
> > > On 1/5/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > >
> > > > in my opinion, i even dont understand why the core sets 
> a locale, 
> > > > wicket itself dont need it - everything that is needed 
> should be 
> > > > specified by
> > > the
> > > > application programmer - if he needs a locale he will 
> put one into 
> > > > a extended class as nice as he wants it (and with J5EE 
> its relly 
> > > > nice as
> > > you
> > > > can have a Static CustomClass getCustomClass returning your 
> > > > CustomClass) and if he neednt a locale he will not take 
> care about 
> > > > it...
> > > >
> > > > just my 2 cents
> > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Eelco Hillenius [mailto:[EMAIL PROTECTED]
> > > > > Gesendet: Freitag, 5. Januar 2007 06:45
> > > > > An: [email protected]
> > > > > Betreff: http://issues.apache.org/jira/browse/WICKET-151
> > > > >
> > > > > any others have an opinion about
> > > > > http://issues.apache.org/jira/browse/WICKET-151 ?
> > > > >
> > > > > Eelco
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> 

Reply via email to