After further investigations, it does not appear that anything is amiss. MAContainerComponent>>save method runs to completion and sends self answer: self model. As I step into that send it goes through the decorationDo: [ :each | each handleAnswer: anObject ] etc. But none of the objects seem to handle the answer lol. Can you tell I am a little bit lost?

Then I decided to run the pierexample app from the dispatcher. Clicked on the Add link, went through the motions to add a new page(?), clicked save and I hit the breakpoint in MAContainerComponent>>save method htat I had set above. This is interesting, as I step through it and get to decorationChainDo: I noticed that the first decoration in the chain is a WAAnswerHandler, on my PersonManager test app it is a MAValidationDecoration then a MAFormDecoration, no WAAnswerHandler...could this be it? (I am attempting now to see who might add the WAAnswerHandler to the Pier form's decoration chain. heh Wish me luck lol)

Warm regards
John

On Tue, Jan 20, 2009 at 7:08 AM, John M <p3anoman@gmail.com> wrote:
Hi Lukas,
MAPersonEditor looks OK to me, the buttons are within the form, etc...

Last night, after sending that email, I happened to click on the Save button without filling in any fields and the validation code was triggered (error msgs displayed regarding first and last name) so it appears the MAContainerComponent's save method is getting called. I will start from there tonight, inserting a break and see where the code goes.

I am not the worlds greatest smalltalker and, while I have been enjoying the exploration of the Magriitte hierarchy, I am not yet that quick to be able to say, "oh that must be in the MAXXXXDecoration object" etc. I will let you know how it goes tonight.

Warm regards
John



On Tue, Jan 20, 2009 at 2:53 AM, Lukas Renggli <renggli@gmail.com> wrote:
> Can anyone tell me what it is that I have failed to implement?

As far as I see your code looks ok. How does MAPersonEditor look like?
Is the button surrounded by a form? Does the button do an #answer: at
some point?

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki