-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I am using a datebox in ZK CE-6.0.1, with this code:
Datebox campoFecha=new Datebox();
campoFecha.setParent(this);
campoFecha.setStyle("text-align: center;");
campoFecha.setFormat("dd/MM/yyyy");
campoFecha.setLocale("es_es");
when i try this code, i see
Days of week are incorrectly painted in calendar.
we can see selected wednesday 17/06/2012, but 17/06/2012 is Tuesday.
I try locale it, and fr, and i see the same error.
Is there any error in my code or is a bug in datebox?
Thanks a lot
I tried following in zksandbox and fiddle, it doesn't have your issue.
could you confirm following in zksandbox, fiddle and your env.
<window id="win" title="My First Window" border="normal" width="200px"> <datebox style="text-align:center" format="dd/MM/yyyy" locale="es_es"/> <zscript> Datebox campoFecha=new Datebox(); campoFecha.setParent(win); campoFecha.setStyle("text-align: center;"); campoFecha.setFormat("dd/MM/yyyy"); campoFecha.setLocale("es_es"); </zscript> </window>
Hi, I'm seeing the same problem using the "de" locale;
I'm unable to reproduce it in fiddle,
but cannot get rid of that show stopper in my GRAILS app using zkgrails (2.0.0.M7 which uses zkoss 6.0.0)...
I'll check back with the plugin developers (zkgrails)
but it seems obvious from aztiak's post that it isn't a sole problem of using zkoss from grails.
cheers, Werner
Asked: 2012-07-17 11:05:40 +0800
Seen: 198 times
Last updated: Aug 23 '12