It still return Non-English version of Calendar even if I try
Locale.English / Locale.US

DatePickerSettings settings = new DatePickerSettings();
settings.setLanguage(DatePickerSettings.getLanguageFromMap(Locale.ENGLISH));
TextField dateField = new TextField("birthDay", new
PropertyModel(account, "birthDay"));
add(dateField);
add(new DatePicker("birthDayPicker", dateField, settings));

In fact, look like nothing change for the change of settings, am I do it right?

On 11/10/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Try DatePickerSettings#getLanguageFromMap(Locale locale)
>
> Eelco
>
>
> On 11/8/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
> > How can I change the language using? I've read
> > http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/datepicker/DatePickerSettings.html#setLanguage(wicket.ResourceReference)
> > But I don't know how to create suitable ResourceReference for it
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to