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"><<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>></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 <<a href="mailto:asertus@gmail.com">asertus@gmail.com</a>>:<br>
<div><div></div><div class="h5">> I am very newbie at Smalltalk and Seaside..., and I tried implementing<br>
> the Note in section 12.2, to make the cancel button behave properly..<br>
> ...., but I was not able.. Can the example be completed??<br>
><br>
> I tried among many other things..<br>
><br>
> iAddress>>editContact: aContact<br>
><br>
> |copy|<br>
><br>
> copy := aContact copy.<br>
><br>
> editor contact: copy.<br>
><br>
> editor onAnswer: [ :answer |<br>
><br>
> (answer)<br>
><br>
> ifTrue: [ Contact removeContact: aContact; addContact: copy<br>
> ]<br>
><br>
> ]<br>
><br>
> But it only worked properly for the first element. Because once I save<br>
> first, I loose the reference to the ordered collection of contacts...<br>
> Sorry if this is a fool question, but many years in Java and just<br>
> starting with smalltalk and seaside...<br>
><br>
><br>
><br>
> Other question (also novice) is that I don't get my radio buttons to<br>
> work..., following the book, I wrote:<br>
><br>
> renderGenderOn: html<br>
><br>
> | group |<br>
><br>
> html text: 'Gender: '.<br>
><br>
> group := html radioGroup.<br>
> group radioButton<br>
> selected: self contact isMale;<br>
> callback: [ self contact beMale ].<br>
> html text: 'Male'.<br>
> group radioButton<br>
> selected: self contact isFemale;<br>
> callback: [ self contact beFemale ].<br>
> html text: 'Female'.<br>
> html break<br>
><br>
> but it never runs "beMale" or "beFemale"..., however Dates, checkboxes<br>
> or inputtexts work fine.... ¿any idea?<br>
><br>
><br>
> I would thank any help regarding these topics..., thanks in advance...<br>
><br>
> Jose<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>
><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>