Re: [T5] JavaScript in template files

2008-05-21 Thread Ken
Thanks Szemere! It's works! Szemere wote: Take a look at http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] JavaScript in template files

2008-05-21 Thread Szemere Szemere
Take a look at http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript This explains how to do it. Szemere On Wed, May 21, 2008 at 6:23 AM, Ken <[EMAIL PROTECTED]> wrote: > Hi, > > I wrote a template file like below: > > > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> > > >

Re: [T5] JavaScript in template files

2008-05-21 Thread Ken
Thank you Chris. After I prepare CDATA block, the error was gone. But my firebug pointed as below and dialog doesn't work. missing ) after condition if (true && true) {\n Anyway I think this is my homework. I have to try a little. thanks again! Chris wrote: > Ken, > > You need to specify you

Re: [T5] JavaScript in template files

2008-05-20 Thread Chris Lewis
Ken, You need to specify your script block as containing CDATA, like so: Tapestry treats templates as XML, and & is an invalid character unless processed as cdata. chris Ken wrote: > Hi, > > I wrote a template file like below: > > > http://tapes