On Tue, 14 Jun 2011 19:29:23 -0300, Fernando Benjamin <fernandobenja...@gmail.com> wrote:

Hi folks,

Bão? :P

I am having one severe problem when importing jquery on the Layout.java
class> When I import jquery All the pages with a form, will not submit to the
pageclass, the button will just not work.

This is the evil line
   @Import(library = { "context:layout/jquery/jquery-1.6.1.min.js"})

Is anyone known with this problem and is there a solution for this?

Both jQuery and Prototype (used by Tapestry) have a $ function. Take a look at this for this solution: http://docs.jquery.com/Using_jQuery_with_Other_Libraries.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, 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