You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Meetesh Karia <me...@gmail.com> on 2008/06/27 12:57:35 UTC
Language selector component available anywhere?
Hi all,
I was just wondering if there's a language selector component (ie,
flags, language names in a dropdown, etc) out there that someone's
built. A google search didn't yield any results.
Thanks,
Meetesh
Re: Language selector component available anywhere?
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
No but, you could do it the simple way:
add(new StatelessLink("locale_da") {
@Override
public void onClick() {
getSession().setLocale(new Locale("da"));
}
});
You can do it the same in a drop down...
But true it would be nice to have a component with flags, map etc...
Meetesh Karia wrote:
> Hi all,
>
> I was just wondering if there's a language selector component (ie,
> flags, language names in a dropdown, etc) out there that someone's
> built. A google search didn't yield any results.
>
> Thanks,
> Meetesh
>
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org