Magritte Tutorial - MAPersonEditor

Damien Cassou damien.cassou at laposte.net
Tue Mar 7 07:08:34 MET 2006


Chad Nantais a écrit :
> Nevermind that last message.  I was overcomplicating the problem.  All
> I had to do was change my change one method in my task.
> 
> (from this)
> getPerson
> 	^ self call:
> 		(MAPersonEditor new)
> 
> (to this)
> getPerson
> 	^self call: (MAPersonModel new asComponent
> 		addValidatedForm;
> 		yourself).

For those who has not understand why the first won't work:

In fact, MAPersonEditor is just a demo to see how easily one can
describe a model and have the component updated. MAPersonEditor should
_not_ be used in another application as it never returns the modified
models.


-- 
Damien Cassou



More information about the SmallWiki mailing list