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(LocalePanel.this.get("other_locale")); getSession().setLocale(l); } }); Or something like that :) Regards, Erik. Korsten, Peter, VF-MT wrote:
So, is it possible to make a link that takes the language code from the properties file as a parameter, and does something along the lines of getSession().setLocale(new Locale(lc)), where lc is the language code from the link?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]