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:34 a.onTouchEnd all.js:34 d all.js:34 On Thu, Mar 19, 2015 at 5:28 PM, Cheng Zhang <charlesdenverj...@gmail.com> wrote: > 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 Eclipse console > has no output. > > I believe the http://foundation.zurb.com/docs/assets/js/all.js makes some > negative effect on the existing JS function Tapestry.waitForPage. > > The tml file eventlink code: > > <a t:type=*"eventlink"* t:event=*"resetPassword"* t:zone=*"editZone"* > t:update=*"show"* href=*"#"*>Forgot Password</a> > In browser the generated html code: > > <a id="eventlink" onclick="javascript:return Tapestry.waitForPage(event);" > update="show" href="/portal/signin:resetpassword">Forgot Password</a> > > Thanks for your help! > > Charles >