<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, <br>
<br>
I am stuck with something probably very obvious, but I don't see the
point.<br>
I have one Magritte component I want to embed in a Seaside
component.<br>
<br>
So in a <b>first</b> Seaside component, I call a second one with a
magritte component embedded into:<br>
<br>
<font color="#000099"><tt>html listItem: [</tt><tt><br>
</tt><tt> html anchor </tt><tt><br>
</tt><tt> callback: [</tt><tt><br>
</tt><tt> model := CGParticipant new.</tt><tt><br>
</tt><tt> answer := self call: (CGComponent editor: model
asComponent addValidatedForm).</tt><tt><br>
</tt><tt> answer </tt><tt><br>
</tt><tt> ifNil: [ self inform: 'Abandon de
l''édition']</tt><tt><br>
</tt><tt> ifNotNil: [ self inform: 'Edition validée et
sauvegardée : ', model firstname ]</tt><tt><br>
</tt><tt> ];</tt><tt><br>
</tt><tt> with: 'Editer modèle']</tt></font><tt><br>
</tt><br>
<br>
Then from the <b>second</b> Seaside component, I just have:<br>
<br>
<font color="#000099"><tt>renderContentOn: html</tt><tt><br>
</tt><tt> html render: editor.</tt></font><tt><br>
</tt><br>
and<br>
<br>
<font color="#000099"><tt>children</tt><tt><br>
</tt><tt> ^ Array with: editor</tt></font><tt><br>
</tt><br>
From the Magritte component, when I hit the 'Save' button the
validation correctly takes place, but it looks like the answer is
never initiated and Seaside never gets back to the first component.<br>
<br>
Any tips?<br>
<br>
Thanks a lot.<br>
<br>
Hilaire<br>
<br>
<br>
<br>
-- Dr. Geo - <a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
iStoa - <a class="moz-txt-link-freetext" href="http://istoa.drgeo.eu">http://istoa.drgeo.eu</a>
</body>
</html>