Re: Problem: T 5.1.0.5 renders JavaScript comment tag as regular html comment tag

2010-02-12 Thread Martin Strand
Tapestry will remove all HTML comments from the output. If you don't put the in there it will work fine: document.write("Hello World!"); On Fri, 12 Feb 2010 18:22:44 +0100, DavidWei wrote: Thanks for reply. I understand the browser executes javascript codes. The problem I have is if I

Re: Problem: T 5.1.0.5 renders JavaScript comment tag as regular html comment tag

2010-02-12 Thread DavidWei
Thanks for reply. I understand the browser executes javascript codes. The problem I have is if I just simply execute a html file which includes javascript codes with comment tag directly using the browser, I can see the javascript codes are executed. But if I put the same javascript codes insid

Re: Problem: T 5.1.0.5 renders JavaScript comment tag as regular html comment tag

2010-02-12 Thread Thiago H. de Paula Figueiredo
On Fri, 12 Feb 2010 14:31:09 -0200, DavidWei wrote: I am working to upgrade to T 5.1.0.5 and found this problem. When I include javascript codes with comment tag in tml file, Tapastry treats it as html comment tag and never run the javasript codes. Tapestry doesn't execute JavaScript, the br