MAPersonModel>>nationality
^ nationality isNil ifTrue: [ ^'' ] ifFalse: [ ^nationality ].
Those the problem could appear if I do sothing like this (suppose that
nationality is a String):
MAPersonModel>>nationality
^ nationality isNil ifTrue: [ nationality :='' ]
And why..
Thanks
By the way, setting the default value via Magritte, only sets that value
"if" you actually hit an edit form and press save, otherwise Magritte
has not yet been invoked and the accessor will return null from your biz
object. Setting the default value in the accessor will ensure the
default value is always returned regardless of whether the object has
been edited via a Magritte generated form.