Hi,

I got a simple question regarding DWR converters in Appfuse. Suppose I get a
customer object back from a DWR request if the customers email address is
null, and I do this

$("email").value = customerObj.email

customerObj is the Customer object that comes back from DWR....This returns
a null value and correspondingly the field displays the null value

Is there a better way to convert this without an "if" condition i.e. I do
this now

if(customerObj.email != null)
  $("email").value = customerObj.email


Is there a converter to match null values ??

Thanks...VJ

-- 
View this message in context: 
http://www.nabble.com/DWR---Question-tf3951502s2369.html#a11210666
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to