You can't pass an empty date, but you can pass a null. From

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/xml45.htm

"Null values in WDDX are not associated with a type such as number or
string. The cfwddx tag converts WDDX Nulls to empty strings."

On 11/4/05, Chris Velevitch <[EMAIL PROTECTED]> wrote:
> How do you pass null dates via wddx?
>
> When I try passing:-
>
>     <var name='resetdate'>
>          <datetime></datetime>
>     </var>
>
> as part of my wddx data, cfwddx action='wddx2cfml' generates an
> invalid WDDX packet error.
>
> This data will be inserted in a database where this column will access nulls.
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223162
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to