On Fri, 12 Feb 2010 14:31:09 -0200, DavidWei <xinhua....@rrd.com> wrote:

I am working to upgrade to T 5.1.0.5 and found this problem.

When I include javascript codes with comment tag <!--  codes //-->in tml
file, Tapastry treats it as html comment tag and never run the javasript
codes.

Tapestry doesn't execute JavaScript, the browser does.
By the way, any browser released in the last 8 or 9 years doesn't need you to put JavaScript code inside HTML comments. By the way (2), why do you need to write HTML through JavaScript when you're using a Web framework?

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to