???

1) inside xml you can have
<![CDATA[
anything, even < > &
]]>

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, without messing with .script if
that's what you
simply want.


On 4/6/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:

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
for storing javascript ?

Wojtek




--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

Reply via email to