null reference output

1 view
Skip to first unread message

Jose

unread,
Jun 23, 2010, 12:05:00 PM6/23/10
to Spark View Engine Dev
When I do this in the view ${Model.Account.Name}

if the Account object is null it outputs : ${Model.Account.Name}
otherwise it outputs the Name Property

is there a way to have it output nothing? What setting do I set for
that if so?

Louis DeJardin

unread,
Jun 23, 2010, 3:45:08 PM6/23/10
to spar...@googlegroups.com
Try $!{Model.Account.Name}

--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To post to this group, send email to spar...@googlegroups.com.
To unsubscribe from this group, send email to spark-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spark-dev?hl=en.


Reply all
Reply to author
Forward
0 new messages