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: > > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <head> > <script type="text/javascript"> > if (true && true) { > alert("!!!"); > } > </script> > </head> > </html> > > > and prepare empty Java file. > then I accessed to this page and got an error: > > > An unexpected application exception has occurred. > > Failure parsing template classpath:com/example/myapp/Test.tml: The > entity name must immediately follow the '&' in the entity reference. > > > I'm using Tapestry 5.0.11. > > somebody help me. > thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >