13 February 2008 11:34
To: users@wicket.apache.org
Subject: Re: Switching locales with the same link
Like in the code given, you can just use :
HomePage.this.getString("header.versionLanguage")
in the anonymous inner class instead of using the "trick" you mention.
The reference
Erik van Oosten wrote:
Indeed, that's what I did too.
Hmm, but the rest was crap I now see.
Anyway, glad it got you on the right track.
Erik.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Indeed, that's what I did too.
Martijn, mt is Maltese, now that's is something you don't see often in
the Netherlands :)
Erik.
Sebastiaan van Erk wrote:
Like in the code given, you can just use :
HomePage.this.getString("header.versionLanguage")
in the anonymous inner class instead of
On 2/13/08, Korsten, Peter, VF-MT <[EMAIL PROTECTED]> wrote:
> Incidentally, the languages used will be 'en' and 'mt'...
mt == manager talk?
Martijn
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1
of the page to the anonymous inner
class.
Incidentally, the languages used will be 'en' and 'mt'...
- Peter
-Original Message-
From: Erik van Oosten [mailto:[EMAIL PROTECTED]
Sent: 13 February 2008 10:07
To: users@wicket.apache.org
Subject: Re: Switching locales with the
Erik van Oosten [mailto:[EMAIL PROTECTED]
Sent: 13 February 2008 10:07
To: users@wicket.apache.org
Subject: Re: Switching locales with the same link
Hi Peter,
Yes, you can do this. Suppose the link is in LocalePanel, then
LocalePanel.properties:
other_locale: nl_NL
LocalePanel_en.properties:
oth
Hi Peter,
Yes, you can do this. Suppose the link is in LocalePanel, then
LocalePanel.properties:
other_locale: nl_NL
LocalePanel_en.properties:
other_locale: en_US
LocalePanel.java:
add(new Link("localeLink", new Model() {
public Object getObject() {
Locale l = new Locale(LocalePane
in detail in my original e-mail...
- Peter
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: 12 February 2008 19:45
To: users@wicket.apache.org
Subject: Re: Switching locales with the same link
see
http://wicketstuff.org/wicket13/pub/
and
http://wicketstuff.or
see
http://wicketstuff.org/wicket13/pub/
and
http://wicketstuff.org/wicket13/pub2
source is available in wicket-examples project
-igor
On Feb 12, 2008 8:01 AM, Korsten, Peter, VF-MT
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've just started with Wicket, and I'm struggling a bit with the
> docume