Are you using renderSupport.addScript(...) in example #1? I think 5.0 --> 5.1 changed where included <script> includes are placed.
5.0 placed them at the end of your <body> tag so referencing CKEDITOR in the template (example #2) would not work since that script would be rendered before including ckeditor.js. 5.1 places includes in <head> so both ways should work fine. What kind of error do you see in Firebug? How does the html look? Both your examples also have a syntax error - there shouldn't be any comma after "height: 250". Could that be the problem? On Sat, 17 Oct 2009 19:08:01 +0200, Argo Vilberg <wilps...@gmail.com> wrote:
hi In tapetsry 5.0.14 works this way to set editor height 1. @IncludeJavaScriptLibrary({"js/ckeditor/ckeditor.js","js/ckeditorconfig.js"}) CKEDITOR.replace( 'editor1', { skin: 'kama', height: 250, }); 2. and not work in tml file <textarea class="ckeditor" id="editor1" name="editor1" > ${currentFile} </textarea> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace( 'editor1', { skin: 'kama', height: 400, }); //]]> </script> In tapestry 5.1.0.5 works exactly opposite way. way 1 works and way 2 not. Why so? Is there any documentatsion abaout tapestry javascript logic? And so javaRebel. Works fine with tapetsry 5.0.8 but in tapestry 5.1.0.5 are no use. Tapestry itself load some java files. But if i change tml-s also, then tapestry goes crazy and only restart helps. Is there any other lib like javaRebel wich may help? Argo
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org