Re: JS conflict

2015-03-31 Thread Thiago H de Paula Figueiredo
On Tue, 31 Mar 2015 01:37:58 -0300, Cheng Zhang wrote: Thanks for reminding me Thiago. I do not know if my company will use the non-stable version of Tapestry in production. It is stable very much. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer ht

Re: JS conflict

2015-03-30 Thread Cheng Zhang
Thanks for reminding me Thiago. I do not know if my company will use the non-stable version of Tapestry in production. On Mon, Mar 30, 2015 at 1:00 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 20 Mar 2015 14:29:09 -0300, Cheng Zhang < > charlesdenverj...@gmail.com> wrot

Re: JS conflict

2015-03-30 Thread Thiago H de Paula Figueiredo
On Fri, 20 Mar 2015 14:29:09 -0300, Cheng Zhang wrote: I just made some research and found the Tapestry is tightly coupling with Prototype, This is absolutely not correct for Tapestry 5.4, which is a recommended upgrade (at least by me). -- Thiago H. de Paula Figueiredo Tapestry, Java a

Re: JS conflict

2015-03-20 Thread Cheng Zhang
Found another article showing it is possible to use jQuery in addition to Prototype. I will try. http://tapestry.apache.org/legacy-javascript.html On Fri, Mar 20, 2015 at 11:29 AM, Cheng Zhang wrote: > I am not sure. I even did not realize Tapestry use Prototype as its > default JS library. > I

Re: JS conflict

2015-03-20 Thread Cheng Zhang
I am not sure. I even did not realize Tapestry use Prototype as its default JS library. I do not want to change existing code with built-in prototype. I just made some research and found the Tapestry is tightly coupling with Prototype, probably I can only use the Foundation components that do not r

Re: JS conflict

2015-03-20 Thread Thiago H de Paula Figueiredo
Are you sure Foundation Framework is compatible with Prototype.js? If not, and if it's compatible with jQuery, you can make Tapestry 5.4 use jQuery instead. Not exactly a Tapestry problem. On Thu, 19 Mar 2015 20:38:02 -0300, Cheng Zhang wrote: More information from dev tool Console: Un

Re: JS conflict

2015-03-19 Thread Cheng Zhang
More information from dev tool Console: Uncaught TypeError: undefined is not a function prototype.js:2284 Element.Methods.writeAttribute prototype.js:2284 global.Element prototype.js:1898 Tapestry.waitForPage tapestry.js:120 onclick (index):7 a.sendClick all.js:

JS conflict

2015-03-19 Thread Cheng Zhang
Hi all, I am trying to apply Foundation framework to an existing Tapestry project. But the JavaScript usded by Foundation seems like conflict with Tapestry JS. Once I added the Foundataion JS file to my tml file, the eventlink does no longer work, there is no any response after cliking, and Eclip