[Seaside] Newbie question Seaside book.

Mariano Martinez Peck marianopeck at gmail.com
Sun May 9 13:24:08 UTC 2010


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100509/bcf1357b/attachment.htm


More information about the seaside mailing list