Hi Lukas,<br>I tried to do it by myself. I did the following changes as suggested by you<br><br><span style="font-weight: bold;">createForm: function() </span>{<br> this.form = document.createElement("form");<br>
<a href="http://this.form.id">this.form.id</a> = this.options.formId;<br> Element.addClassName(this.form, this.options.formClassName)<br> <span style="color: rgb(255, 0, 0);"> <span style="font-weight: bold;">this.mouseoutListener
= this.form.submit(); // Added this Line</span></span><br><br> this.form.onsubmit = this.onSubmit.bind(this);<br><br> this.createEditField();<br> if (this.options.textarea) {<br> var br = document.createElement
("br");<br> this.form.appendChild(br);<br> }<br>...............<br>..............<br>..............<br>}<br><br>When I tried to execute it. I was rendered with inplaceEditor without OK Button and Cancel Link (Which I expected). When I edit anything and move the mouse out of the form. It is supposed to update. Till now, I have not been able to achieve it. When I hit Enter (Return) key on my board, it is updated.
<br><br>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, <span style="font-weight: bold;">
yet no Progress for me.<br><br></span>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.<br><br>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.
<br><br>Thanks again,<br>Rajeev<br><br><br><div><span class="gmail_quote">On 9/1/07, <b class="gmail_sendername">Lukas Renggli</b> <<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> html textInput value: callback: should be updated without submitButton or<br>> similar mechansim.<br>><br>> The update must be triggered by mouse movement, I mean when mouse is moved<br>> out of the input form, it should be updated.
<br><br>Sure, instead of the #onClick: event of the button you assign the<br>update action to the #onMouseOut: event on any DOM element.<br><br>Cheers,<br>Lukas<br><br>--<br>Lukas Renggli<br><a href="http://www.lukas-renggli.ch">
http://www.lukas-renggli.ch</a><br>_______________________________________________<br>Seaside mailing list<br><a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com
</a><br>+91 9243468076 (Bangalore)<br>080 65355873