On Thu, 04 Feb 2010 20:46:53 -0200, Benny Law <benny.mk....@gmail.com> wrote:

Hi everyone,

Hi!

from the zone when it renders. I also tried to use RenderSupport.addScript()
in the action link event handler that updates the zone, but got the error
"No object of type org.apache.tapestry5.RenderSupport is available from the Environment". My questions are:

(1) Why does Tapestry not allow embedded <script>? I can't put the script in a file since it contains expansions ( e.g. location.name = "${location.name}";
)
(2) What is the proper way to include dynamic JavaScript in zones?

Thanks in advance,

Benny


--
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. Coordenador e professor da Especialização em Engenharia de Software com Ênfase em Java da Faculdade Pitágoras
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
Sócio, 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