[Seaside] textInput with autoUpdate when mouse moved out ?

Lukas Renggli renggli at gmail.com
Mon Sep 3 04:32:54 UTC 2007

>     this.mouseoutListener = this.form.submit();   // Added this Line

There are two problems here:

1. this.form.submit() assigns the result of evaluating the method
submit. I assume you would like to assign the function (without

     this.mouseoutListener = this.form.submit;

2. The line above won't assign an event handler. For now you just
defined the alias this.mouseoutListener for this.form.submit. Check
out the Prototype document to see how to register for DOM events:


> I have a sortable(Scriptaculous) with each listItem being an InplaceEditor.
> Just in case, to avoid any problem due to coupling, I removed the sortList
> code and tried on a simple orderedList, yet no Progress for me.

Yes, this is usually a good strategy.

> Please help me out if the changes I have made are inappropriate. I also went
> through wiki at Scriptaculou for Inplace.., couldn't find anything of use to
> me.

In my first mail I was not talking about SUInPlaceEditor, but just
about using a plain textInput as it generated by WAInputTag.

> If at all it is not possible for submission using onMouseOut event, how
> about having a mechanism to trigger the submit, when we click on anywhere
> else on Canvas or any button/link/form other the edit form we are working
> on.

Sure, form submission is possible from any kind of event.


Lukas Renggli

More information about the Seaside mailing list