Sorry Lukas for making it so complicated. In simpler terms, I shall put it in this way.<br>There is a page (SomeComponentView) which renders us a Heading and a SUInPlaceEditor form/field<br><br>Upon entering say Item 1, I press OK button . Now I want this detail to be saved somewhere in persistence. In the present example (SUInPlaceEditorTest), upon clicking NewSession in the ToolBar, the content is reset to Clickme&amp;EditMe...
<br><br>After saving the content in some variable or it should render a button on the next line to the entered Item 1. By pressing the Button, another SUInPlaceEditor form/field should be rendered. The user can again enter something say Item 2 and presses OK. Similarly, he can create a list of as many items as he wants and finally save the whole list of items.
<br><br>I hope it is clear now. If any clarifications, please let me know.<br><br>Regards,<br>Rajeev<br><br><br><div><span class="gmail_quote">On 5/21/07, <b class="gmail_sendername">Lukas Renggli</b> &lt;<a href="mailto:renggli@gmail.com">
renggli@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; In the example of scriptaculous, the text (inst variable) of
<br>&gt; SUInPlaceEditorTest is initialized to &#39;Click and Edit me&quot;. I believe, to<br>&gt; have persistence, we need to go for Class Instance Variables, how do we do<br>&gt; this.<br><br>I don&#39;t quite understand what you are trying to do. To change the text
<br>you have &#39;Click and Edit me&quot; the option #clickToEditText:.<br><br>&gt; It would be great to discus further with you all. Is there any tutorial<br>&gt; specific for Scriptaculous ?<br><br>Except for the shipped functional test cases and some blog posts,
<br>there are none. However it should be fairly easy to follow any<br><a href="http://script.aculo.us">script.aculo.us</a> or prototypes tutorial.<br><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 9212090622 (Gurgaon)<br>080 65355873 (Bangalore)