Hi Sean,
Send morphClass: to a description to make it use a custom MAMorph subclass. 
In the Seaside world you would send componentClass: to the description. For the 1-1 relation descriptions there are MAInternalEditorComponent and MAExternalEditorComponent (the defaults) but there are no equivalents in Magritte-Morphic. 

Hope that helps

On Tue, Jan 3, 2012 at 8:55 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Exploring around, I found that MAToOneRelationDescription inherits
class>>#defaultMorphClasses from MAElementDescription, which returns an
MATextMorph, so I thought about subclassing my own description or setting
the default morph class property, but it seems that by the time the
description is looking for a morph class, it may be too late, no? What I
really want is to recursively embed the full editor for the related Author
class in the form for the Book, but I'm not sure exactly where to hook in.
#acceptMagritte: seemed like an obvious place, but everything seems already
figured out by the time it's called - although maybe that's due to caching?
Can caching be turned off to more easily see what's going on?

Lukas, in one of the posts, you mentioned that you had some ideas on how to
fix this. I'd like to have a conversation about that.

Also, for the time being, I'd just like to know where I should hook in to
manually display an editor for the author object. I also want to add
auto-complete to some fields...

Thanks.
Sean

--
View this message in context: http://forum.world.st/Magritte-Complex-Models-tp4259124p4259524.html
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki