[Seaside] setting up form with magritte

John McKeon p3anoman at gmail.com
Sat Mar 6 17:44:45 UTC 2010


Hello Sergio

On Sat, Mar 6, 2010 at 12:15 AM, sergio_101 <sergiolist at village-buzz.com>wrote:

> i am getting close to getting this all figured out, i am just trying
> to figure out how to trigger a save or create with magritte..
>
> i have figured how to get my edit form rendered, and how to get it
> rendered with an active object..
>
> (for the record, this is very slick, and very much a time saver..)
>
> the only thing i am having trouble with is: how do i trigger the
> object update or creation?
>
> when i hit save or cancel, the object does not get updated, or a new
> object doesn't get created...
>
> also, on creation of the object, it will be put into an ordered list
> housed as a class variable.. how do i trigger that add: ?
>

You probably need to add an onAnswer: block to your form to do something
with the answered object


>
> thanks!
>
> --
>
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
http://jmck.seasidehosting.st
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100306/e6b6fbe7/attachment.htm


More information about the seaside mailing list