Re: [flexcoders] Remote object - Nullable type

2006-11-15 Thread Diego Guebel
Hi Darron, Many thanks for reply, that altenative you mentioned was something I was thinking of doing, but I preferred to ask first for any better solution, it seems there is not... have you ever posted about that custom datatype alternative? I wonder how you implemented that thanks again,

[flexcoders] Remote object - Nullable type

2006-11-14 Thread Diego Guebel
Hi there, I'm trying to pass back and forth an object to the server(.NET) that has a property with boolean type that can also be assigned a null. Something like the following in c#: public class TestClass { [XmlElement(IsNullable=true)] public Nullablebool Deleted { get; set; } }

Re: [flexcoders] Remote object - Nullable type

2006-11-14 Thread Darron J. Schall
You can't match it exactly. Trying to use a boolean type means you can only have either true or false as the value. It's in a proposal somewhere to add nullable type support to ECMAScript, but in the meantime you can try using the * data type since it can assume any value (which includes the