Re: [flexcoders] How to DataBind to DateField when Null Values come into play??

2007-03-20 Thread Sam Shrefler
Mike: What is the type of the property you are trying to bind to in your Value Object? A DateField selectedDate property can be sent to null and should give you an empty date. I've extended the DateField making my own DateField Component - EditDateField and I always use that whenever I use

[flexcoders] How to DataBind to DateField when Null Values come into play??

2007-03-19 Thread Mike Anderson
Hello All, What is the proper way to bind Data to a DateField? I ask this, because I get an error when I bind a Variable contained within a ValueObject (which contains a Null Value), to a DateField Control. Is it safe to say, that this DateField doesn't act like a TextField? Do I require a

RE: [flexcoders] How to DataBind to DateField when Null Values come into play??

2007-03-19 Thread Tracy Spratt
Perhaps a ternary conditional? {(myDateProperty) ? myDateProperty : someDefaultDate} Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Monday, March 19, 2007 3:06 PM To: flexcoders@yahoogroups.com Subject: