Thanks Martin, Frank,

your approaches are convincing!
Great stuff, thanks a lot!

Greetings,
Stefan

On 10.02.2010 09:43, Schwichtenberg, Frank wrote:
> Hi,
>
>> -----Ursprüngliche Nachricht-----
>> Von: MartinWittemann [mailto:[email protected]]
>
>> it's much easier than you thought. The DateField uses a location
>> dependent
>> formater to convert the given Date to the string you see in the
>> textfield.
>> So why don we just use the same approach with your problem:
>>
>> dateField.getDateFormat().format(dateField.getValue());
>
> Or even create a date string in your prefered format independet of the 
> display.
>
> var df = new qx.util.format.DateFormat("yyyy'-'MM'-'dd", "de");
> var myDateString = df.format(e.getData());
>
> Variable e is the "changeValue" event from the DateField. The events data is 
> a Date object as you can see in Martins example.
>
> Cheers, Frank

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to