You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Fernando Benjamin <fe...@gmail.com> on 2011/06/15 00:29:23 UTC

Including jquery

Hi folks,

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?



Thank you in Advance,


Fernando

Re: Including jquery

Posted by Taha Tapestry <ta...@gmail.com>.
Hi Thiago, Fernando

Don't worry there is Google translate

"thanks man td worked"

Regards
Taha

Sent from my iPhone

On Jun 15, 2011, at 4:36 AM, "Thiago H. de Paula Figueiredo" <th...@gmail.com> wrote:

> On Tue, 14 Jun 2011 19:56:33 -0300, Fernando Benjamin <fe...@gmail.com> wrote:
> 
>> Obrigado cara, td deu certo!
>> :)
> 
> You're welcome! But don't forget that you should post in this mailing list in English always. :)
> 
> -- 
> 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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

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


Re: Including jquery

Posted by ael <al...@dash.com.ph>.
I wonder which is better PROTOTYPE or JQUERY?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Including-jquery-tp4489500p4489769.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Including jquery

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 14 Jun 2011 20:30:59 -0300, Fernando Benjamin  
<fe...@gmail.com> wrote:

> Hi Thiago,

Hi!

> I have also tried this solution.
> http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery

That's the solution I use.

-- 
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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Including jquery

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 14 Jun 2011 19:56:33 -0300, Fernando Benjamin  
<fe...@gmail.com> wrote:

> Obrigado cara, td deu certo!
> :)

You're welcome! But don't forget that you should post in this mailing list  
in English always. :)

-- 
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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Including jquery

Posted by Fernando Benjamin <fe...@gmail.com>.
Obrigado cara, td deu certo!

:)

On 15 June 2011 00:36, Thiago H. de Paula Figueiredo <th...@gmail.com>wrote:

> On Tue, 14 Jun 2011 19:29:23 -0300, Fernando Benjamin <
> fernandobenjamin@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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Including jquery

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Tue, 14 Jun 2011 19:29:23 -0300, Fernando Benjamin  
<fe...@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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org