[Seaside] Question about Section 12.2 of the Seaside book

John McKeon p3anoman at gmail.com
Fri Oct 22 00:32:09 UTC 2010


Hi Elliot,
The editor is a form whose fields are bound to the object it is editing, and
the submit button (whether the Cancel or Save button) will perform the
form's input field callbacks first (see Section 10.1).
Hope this helps
John

On Thu, Oct 21, 2010 at 6:49 PM, Elliot Finley <efinley.lists at gmail.com>wrote:

> Hello,
>
> I've been going through the Seaside online book and so far everything has
> been intuitive and straightforward.  At the very end of section 12.2
> (Example: Embedding an Editor) there is a note that says:
>
> Our simple implementation of IAddress>>editContact: will save changes even
> when you press *cancel*. See Section 11.5<http://book.seaside.st/book/components/calling/answer> to
> understand how you can change this.
>
> In the context of section 11.5, ContactListView is 'call:'ing the editor
> and testing the return value to decide whether or not to save the changes.
>  This is very straightforward.
>
> In the context of section 12.2, IAddress is embedding the editor and thus
> it is not clear or intuitive where I would test the return value of the
> editor to decide whether or not to save the changes.  I'm sure this is an
> easy question for the season veterans, but I'm just not seeing it.
>
> Thanks in advance for any help, pointers, etc...
>
> Elliot
>
> P.S. This is using the Seaside 3.0 One-click on a Macbook Pro (OS X
> 10.6.4).
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
http://john-mckeon.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101021/7602cee5/attachment.htm


More information about the seaside mailing list