Hello Bernat,<div>The only help I can offer regarding tinyMCE is to look at Seabreeze. Its  a WisualWorks based Seaside development environment. They use tinyMCE and developed the complex mechanism required to feed the js files from a WAFileLibrary. (The big problem is the subdirectory structure where tintMCE expects to find its code. A subdirectory structure that makes me ill to look at and the main reason why i shyed away from all other web dev environments like rails and php; files on top of files, miles and miles of files.....but I rant. Smalltalk took me away from all that :)</div>
<div><br></div><div>As far as writing JS in ST it turns out to pretty simple just don&#39;t try to delve to deeply into the implementation of  Scriptaculous, it may only confuse you. Just render a textArea and add an onEnter: clause to render the magical incantation required - at least I think that is how tmce works. It is a long time since I looked into using it. Take a look at the onXXX: methods of WATagBrush.</div>
<div><br></div><div>Hope this helps a bit.<br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 11:44 PM, AxiNat <span dir="ltr">&lt;<a href="mailto:tibabenfortlapalanca@gmail.com">tibabenfortlapalanca@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don&#39;t wanna be annoying, but I really can&#39;t find any specific info on embedding fairly complex javascript apps in Seaside.<br>
<br>I&#39;ve read the whole chapter in the Seaside book, and some post by Ramon Leon (which points the way to go but doesn&#39;t get into the subject). I also googled a lot, but can&#39;t seem to find a nice howto going step by step.<br>


<br>For what I understand (which is ~0), I&#39;d have to:<br><ul><li>Add the .js file to my file library (in the case of TinyMCE, there&#39;s a lot of js files, so here comes my first problem)</li><li>Create accessors in my file library for I really didn&#39;t understand what</li>


<li>Subclass a WAComponent that will implement a method called script, which returns the said js file</li><li>Obviously, something else that I&#39;m totally missing</li><li>Embed this component into the component I wish (I have no problems with this step)<br>


</li></ul>I guess I really didn&#39;t understand how the whole thing works. One big issue is that I have no idea whatsoever about how Javascript works, but I&#39;d really love to be able to keep away from coding something that&#39;s not Smalltalk in my web app.<br>


<br>Thank you and please excuse my dumbness ;)<br><br>Bernat.<div><div></div><div class="h5"><br><br><div class="gmail_quote">2010/2/22 Germán Arduino <span dir="ltr">&lt;<a href="mailto:garduino@gmail.com" target="_blank">garduino@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

I think that the wiki of Tiny may help, in particular this page:<br><br><a href="http://wiki.moxiecode.com/index.php/TinyMCE:Installation" target="_blank">http://wiki.moxiecode.com/index.php/TinyMCE:Installation</a><div>

<div>
</div><div><br><br>Cheers.<br>Germán.<br>
<br><br><div class="gmail_quote">2010/2/22 AxiNat <span dir="ltr">&lt;<a href="mailto:tibabenfortlapalanca@gmail.com" target="_blank">tibabenfortlapalanca@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">



Thanks, I knew about TinyMCE because I used to build websites in Joomla, which has a TinyMCE component, but I really have zero experience in embedding Javascript in a Seaside app, any quick howto available around?<br><br>



<div class="gmail_quote">

2010/2/22 Germán Arduino <span dir="ltr">&lt;<a href="mailto:garduino@gmail.com" target="_blank">garduino@gmail.com</a>&gt;</span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">





I like to embed TinyMCE: <a href="http://tinymce.moxiecode.com/" target="_blank">http://tinymce.moxiecode.com/</a> . Is a bit big,<br>
but pretty complete.<br>
<br>
Cheers.<br>
Germán.<br>
<br>
<br>
2010/2/22 AxiNat &lt;<a href="mailto:tibabenfortlapalanca@gmail.com" target="_blank">tibabenfortlapalanca@gmail.com</a>&gt;:<br>
<div><div></div><div>&gt; Hi all,<br>
&gt;<br>
&gt; So far I&#39;ve been always using the WYSIWYG ShoreComponents text editor for my<br>
&gt; websites, but now I&#39;d need something a little bit more complex, I&#39;d just<br>
&gt; need to add the possibility to create links and add images to the text,<br>
&gt; nothing else.<br>
&gt;<br>
&gt; I wanted to modify the ShoreComponents editor myself, but my knowledge in<br>
&gt; Javascript is as extensive as my knowledge in the harvesting of the Korean<br>
&gt; pumpkin...<br>
&gt;<br>
&gt; What do you guys usually use?<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Bernat Romagosa.<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Ted Turner  - &quot;Sports is like a war without the killing.&quot;<br>
</div></div>&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br><br><a href="http://www.brainyquote.com/quotes/authors/j/joan_crawford.html" target="_blank">Joan Crawford</a>  - &quot;I, Joan Crawford, I believe in the dollar. Everything I earn, I spend.&quot;
</font><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br>
</div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br><br><a href="http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html" target="_blank">Jonathan Swift</a>  - &quot;May you live every day of your life.&quot;
</font><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" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>
</div>