Hi Dipu,

well, the problem is that i have here the Locale("de","DE") which has default pattern "dd.MM.yy" while I need "dd.MM.yyyy" - so how can this be changed? (so MEDIUM instead of SHORT is used)

Regards
Korbinian


Dipu Seminlal schrieb:
try using session.setLocale()
thats how i do it.

Regards
Dipu

On 9/6/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:

Hi,

can anyone tell me how to change the default date pattern wicket should
use in the whole app?

I mean i can do:

add(new DatePicker() {
                     protected String getDatePattern() {
                         return "dd.MM.yyyy";
                     }

on each component manually, but that doesnt seem to be the right way.

Regards,

Korbinian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to