I guess it is Seaside 3.0 as the book is with it. <br><br><div class="gmail_quote">On Sun, May 9, 2010 at 2:31 PM, Sean Allen <span dir="ltr">&lt;<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Seaside 3 or Seaside 2.8?<br>
<br>
<br>
2010/5/9 José Perez &lt;<a href="mailto:asertus@gmail.com">asertus@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I am very newbie at Smalltalk and Seaside..., and I tried implementing<br>
&gt; the Note in section 12.2, to make the cancel button behave properly..<br>
&gt; ...., but I was not able.. Can the example be completed??<br>
&gt;<br>
&gt; I tried among  many other things..<br>
&gt;<br>
&gt; iAddress&gt;&gt;editContact: aContact<br>
&gt;<br>
&gt;    |copy|<br>
&gt;<br>
&gt;    copy := aContact copy.<br>
&gt;<br>
&gt;     editor contact:  copy.<br>
&gt;<br>
&gt;         editor onAnswer: [ :answer |<br>
&gt;<br>
&gt;                         (answer)<br>
&gt;<br>
&gt;                        ifTrue: [ Contact removeContact: aContact; addContact: copy<br>
&gt;                                        ]<br>
&gt;<br>
&gt;                        ]<br>
&gt;<br>
&gt; But it only worked properly for the first element. Because once I save<br>
&gt; first, I loose the reference to the ordered collection of contacts...<br>
&gt; Sorry if this is a fool question, but many years in Java and just<br>
&gt; starting with smalltalk and seaside...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Other question (also novice) is that I don&#39;t get my radio buttons to<br>
&gt; work..., following the book, I wrote:<br>
&gt;<br>
&gt; renderGenderOn: html<br>
&gt;<br>
&gt;        | group |<br>
&gt;<br>
&gt;        html text: &#39;Gender: &#39;.<br>
&gt;<br>
&gt;        group := html radioGroup.<br>
&gt;        group radioButton<br>
&gt;            selected: self contact isMale;<br>
&gt;            callback: [ self contact beMale ].<br>
&gt;        html text: &#39;Male&#39;.<br>
&gt;        group radioButton<br>
&gt;            selected: self contact isFemale;<br>
&gt;            callback: [ self contact beFemale ].<br>
&gt;        html text: &#39;Female&#39;.<br>
&gt;        html break<br>
&gt;<br>
&gt; but it never runs &quot;beMale&quot; or &quot;beFemale&quot;..., however Dates, checkboxes<br>
&gt; or inputtexts work fine.... ¿any idea?<br>
&gt;<br>
&gt;<br>
&gt; I would thank any help regarding these topics..., thanks in advance...<br>
&gt;<br>
&gt; Jose<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<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>
</div></div></blockquote></div><br>