Re: Keeping JavaScripts in a .js file instead of .script

2007-04-06 Thread Howard Lewis Ship
The goal of the design is that you put 95% of your logic into a static .js file, references from your .script file. The purpose of the .script is to provide the dynamically generated glue code ... things like event registrations and such. On 4/6/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:

Re: Keeping JavaScripts in a .js file instead of .script

2007-04-06 Thread Andreas Andreou
??? 1) inside xml you can have 2) you don't have to use .script files, they serve a very specific purpose = writing out dynamic js. 3) Take a look at http://tapestry.apache.org/tapestry4.1/usersguide/script.html there's an include-script section! 4) You can directly add js in your pages, with

Keeping JavaScripts in a .js file instead of .script

2007-04-06 Thread Wojtek Ciesielski
Hi there, Is there ANY sensible way to keep component's javascript in a .js file instead of that .script XML one? Because of an XML format I can't use any syntax-colouring editor with it, also all < > or & chars need to be encoded as an HTML entities... What on earth caused anybody to use XML