[Dev-flock] hooked up add behavior.

Lucy Mendel lucy at thoughtandmemory.org
Fri Nov 30 00:42:17 EST 2007


I saw your commit via the trac timeline-- cool!!

I had removed authorization for commits in order to make us more open source
in principle. I like the commit emails, and even better-- knowing who
commits what (svn blame. or really, who to talk with when looking at a new
piece of code).

Auth is back.

l.

On Nov 29, 2007 7:00 PM, Mike Eggar <eggar at hotmail.com> wrote:

>  My commit message didnt work either.  the arguments all show up now and
> the 'view arguments' link should filter arguments for each behavior.  all
> the arguments can be controlled with jquery now.
>
> Mike
>
> ------------------------------
> Date: Thu, 29 Nov 2007 13:53:19 -0500
> From: lucy at thoughtandmemory.org
> To: dev-flock at mit.edu
> Subject: [Dev-flock] hooked up add behavior.
>
>
> yo,
>
> my commit message failed because i included funny characters (i think).
>
> i hooked up 'add behavior'. the process starts in behaviors.html, which
> calls addDrop2-- this function renders the provided template in the provided
> element id, with the provided parameter (currently, one can only provide a
> single param called 'id').
>
> in this case, we drop (insert) the behavior_add.html form.
>
> onSubmit, this forms passes off the input values plus id (which in this
> case is for the node that the behavior is being attached to) to
> create_behavior(), which calls JSON and so on.
>
> again, i haven't actually saved any data in the db... still holding off on
> that until some docs pop up and/or i decided to dive in.
>
> i'm now going to make a note of 'how to add forms' to the
> ImplementationOverview wiki page.
>
> i'm not exactly sure the form process is the best one-- should we use
> onClick or onSubmit or $(foo).click(  ?  mainly, i wanted to show in the
> html file what other html snippet was going to be dropped, hence making the
> call to addDrop2 in the html file as opposed to in some javascript file. i
> don't know much about the speed or efficiency tradeoffs i'm making, though.
>
>
> good luck,
> let me know if ya'll have questions,
> l.
>
>
> ------------------------------
> Connect and share in new ways with Windows Live. Connect now!<http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007>
>
> _______________________________________________
> Dev-flock mailing list
> Dev-flock at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dev-flock
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dev-flock/attachments/20071130/06b2608b/attachment.htm


More information about the Dev-flock mailing list