[Seaside] Newbie question Seaside book.

Sean Allen sean at monkeysnatchbanana.com
Sun May 9 14:03:37 UTC 2010


If it is seaside 3, then there is a bug in radio button handling right now.
See this email chain from the list:

http://lists.squeakfoundation.org/pipermail/seaside/2010-April/023283.html

On Sun, May 9, 2010 at 9:24 AM, Mariano Martinez Peck
<marianopeck at gmail.com> wrote:
> I guess it is Seaside 3.0 as the book is with it.
>
> On Sun, May 9, 2010 at 2:31 PM, Sean Allen <sean at monkeysnatchbanana.com>
> wrote:
>>
>> Seaside 3 or Seaside 2.8?
>>
>>
>> 2010/5/9 José Perez <asertus at gmail.com>:
>> > I am very newbie at Smalltalk and Seaside..., and I tried implementing
>> > the Note in section 12.2, to make the cancel button behave properly..
>> > ...., but I was not able.. Can the example be completed??
>> >
>> > I tried among  many other things..
>> >
>> > iAddress>>editContact: aContact
>> >
>> >    |copy|
>> >
>> >    copy := aContact copy.
>> >
>> >     editor contact:  copy.
>> >
>> >         editor onAnswer: [ :answer |
>> >
>> >                         (answer)
>> >
>> >                        ifTrue: [ Contact removeContact: aContact;
>> > addContact: copy
>> >                                        ]
>> >
>> >                        ]
>> >
>> > But it only worked properly for the first element. Because once I save
>> > first, I loose the reference to the ordered collection of contacts...
>> > Sorry if this is a fool question, but many years in Java and just
>> > starting with smalltalk and seaside...
>> >
>> >
>> >
>> > Other question (also novice) is that I don't get my radio buttons to
>> > work..., following the book, I wrote:
>> >
>> > renderGenderOn: html
>> >
>> >        | group |
>> >
>> >        html text: 'Gender: '.
>> >
>> >        group := html radioGroup.
>> >        group radioButton
>> >            selected: self contact isMale;
>> >            callback: [ self contact beMale ].
>> >        html text: 'Male'.
>> >        group radioButton
>> >            selected: self contact isFemale;
>> >            callback: [ self contact beFemale ].
>> >        html text: 'Female'.
>> >        html break
>> >
>> > but it never runs "beMale" or "beFemale"..., however Dates, checkboxes
>> > or inputtexts work fine.... ¿any idea?
>> >
>> >
>> > I would thank any help regarding these topics..., thanks in advance...
>> >
>> > Jose
>> > _______________________________________________
>> > seaside mailing list
>> > seaside at lists.squeakfoundation.org
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list