Hello Vincent,<br><br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 8:18 AM, Vincent Dautremont <span dir="ltr">&lt;<a href="mailto:vdautrem@ulb.ac.be">vdautrem@ulb.ac.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I&#39;m new here, am following the book (<a href="http://book.seaside.st" target="_blank">http://book.seaside.st</a>)<br>
and have a question about rendering components and getting the answer back from them.<br>
<br>
- In section 11.5 (<a href="http://book.seaside.st/book/components/calling/answer" target="_blank">http://book.seaside.st/book/components/calling/answer</a>)<br>
the &quot;answer:&quot; method after a &quot;call:&quot; method is clear for me.<br>
<br>
The result of (self call: view) is the object return by the answer: method.<br>
<br>
<br>
- In section 11.9 (<a href="http://book.seaside.st/book/components/calling/show-answer" target="_blank">http://book.seaside.st/book/components/calling/show-answer</a>) I&#39;ve also understood that the same goes with the unblocking method &quot;show:&quot; that create inline html code of the component.<br>

<br>
- What I don&#39;t understand is how to get the answer back if I call my component with the render: method.<br>
In section 12.2 (<a href="http://book.seaside.st/book/components/embedding/example" target="_blank">http://book.seaside.st/book/components/embedding/example</a>)<br>
the component is now embeded using the render: method and the note and the end of the page refer to section 11.5 to get the answer back from the cancel/save  button.<br>
I don&#39;t understand that because (html render: editor) doesn&#39;t answer true nor false when I press the save or cancel button.<br>
<br></blockquote><div><br><a href="http://book.seaside.st/book/components/embedding/intercepting-answer">Section 12.4</a> shows hw to accomplish this by assigning a block of code to execute using onAnswer:<br><br>John<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank you for the help.<br>
<br>
Vincent.<br>
with Squeak Seaside 2.8.4 image<br>
<br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>