[Seaside] Newbie question Seaside book.

Sean Allen sean at monkeysnatchbanana.com
Mon May 10 13:00:03 UTC 2010


>From looking at the code, I'm not sure how you would lose a reference to
the ordered collection of contacts. Is it a class  variable or
instance variable?


2010/5/10 José Perez <asertus at gmail.com>:
> Basically in the initial (chapter 11) shows how to build a list of
> contacts, and edit them, in a different page 1 by 1. Then it shows how
> to handle the answer, if the user presses "save" or "cancel".
>
> What it does is editing a "copy" of the contact, and if the user
> presses "save", then the copy replaces the original contact. If
> "cancel" does nothing.
>
> In chapter 12 it shows how to "embed" an editor under the list.
> Editing the contact in the same page.., and it works..., but editing
> the "actual" contact. So, if you press save or cancel, the contact is
> always updated...
>
> There it is where I tried to implement the same "behavior" for the
> "cancel" button...
>
> Regards...
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list