Hi skar,

do you still have the changeSelection listener attached to the date field?
If yes, you should remove it for two reasons. First, you get rid of that
warning and second, the listener does not work so it's useless code. :) 

The implementation of the date format tried to stick as close as possible to
the SimpleDateForm known in Java
(http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html).
So I think thats the desired outcome because the month written with lower
case does not fit the mont abbreviation given by your locale manager.

Regards,
Martin


skar wrote:
> 
> Hi Martin,
>> the date field does not fire an event named changeSelection. Thats why
>> you
>> get the error message you postet. If you want to get the changes of the
>> date, use the changeValue event because that the one working and not
>> deprecated. We moved the implementation form date to value for to get all
>> form items to value. Take a look at the new documentation to see what
>> other
>> things change in the form area:
>> http://qooxdoo.org/documentation/0.8/ui_form_handling2
>>   
> Thanks. That did work for me. But the warning about missing
> changeSelection persists though.
>> Now to your formating question. You can give the date field a date formt
>> object which tells the date field what format it should handle. Take a
>> look
>> at the documentation here to see what kinds of formats you can build with
>> the date format:
>> http://demo.qooxdoo.org/devel/apiviewer/#qx.util.format.DateFormat
>> I hope that helps a bit.
>>   
> I'm using the MMM/DD/YYYY format and in that case, I can't enter a date
> like "aug/13/2009". Only "Aug/13/2009" is deemed valid and getValue()
> returns null otherwise. Is that the intended outcome?
> 
> cheers,
> skar.
> 
> -- 
> --
> The life so short, the craft so long to learn. 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Doubts-about-datefield-tp3430092p3435858.html
Sent from the QA mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to