Hi Paolo,

if myColor == null && newColor != null holds in your example,
then the object bound to newColor will be sent.

Maybe you forgot to add a related setStateUI() call in uploadStateUI() ?
(In the latter case: see samples in the ULC Extension Guide.
Otherwise: please send a complete example to illustrate the potential bug.)

Greetings,

Daniel

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paolo Scaffardi
Sent: Donnerstag, 18. Mai 2006 19:18
To: [email protected]
Subject: [ULC-developer] ULC 6.1: setStateUI and null properties


I got a property like this:

        Color myColor = null ;

When calling the first time:

        setStateUI("name", this.myColor, newColor)

the setStateUI dont send any update to the client because it seems not
to compare these values because the one is not an object but null. To me
these objects are different and setStateUI should update the client object.

Am i right or not?

Best regards,
Paolo Scaffardi
GFP Lab s.r.l.
http://www.gfplab.com
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to