I don't wanna be annoying, but I really can't find any specific info on embedding fairly complex javascript apps in Seaside.<br><br>I've read the whole chapter in the Seaside book, and some post by Ramon Leon (which points the way to go but doesn't get into the subject). I also googled a lot, but can't seem to find a nice howto going step by step.<br>
<br>For what I understand (which is ~0), I'd have to:<br><ul><li>Add the .js file to my file library (in the case of TinyMCE, there's a lot of js files, so here comes my first problem)</li><li>Create accessors in my file library for I really didn'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'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't understand how the whole thing works. One big issue is that I have no idea whatsoever about how Javascript works, but I'd really love to be able to keep away from coding something that's not Smalltalk in my web app.<br>
<br>Thank you and please excuse my dumbness ;)<br><br>Bernat.<br><br><div class="gmail_quote">2010/2/22 Germán Arduino <span dir="ltr"><<a href="mailto:garduino@gmail.com">garduino@gmail.com</a>></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 class="h5"><br><br>Cheers.<br>Germán.<br>
<br><br><div class="gmail_quote">2010/2/22 AxiNat <span dir="ltr"><<a href="mailto:tibabenfortlapalanca@gmail.com" target="_blank">tibabenfortlapalanca@gmail.com</a>></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"><<a href="mailto:garduino@gmail.com" target="_blank">garduino@gmail.com</a>></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 <<a href="mailto:tibabenfortlapalanca@gmail.com" target="_blank">tibabenfortlapalanca@gmail.com</a>>:<br>
<div><div></div><div>> Hi all,<br>
><br>
> So far I've been always using the WYSIWYG ShoreComponents text editor for my<br>
> websites, but now I'd need something a little bit more complex, I'd just<br>
> need to add the possibility to create links and add images to the text,<br>
> nothing else.<br>
><br>
> I wanted to modify the ShoreComponents editor myself, but my knowledge in<br>
> Javascript is as extensive as my knowledge in the harvesting of the Korean<br>
> pumpkin...<br>
><br>
> What do you guys usually use?<br>
><br>
> Thanks!<br>
><br>
> Bernat Romagosa.<br>
><br>
> --<br>
><br>
> Ted Turner - "Sports is like a war without the killing."<br>
</div></div>> _______________________________________________<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>
><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> - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend."
</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">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><br><a href="http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html" target="_blank">Jonathan Swift</a> - "May you live every day of your life."