开发者

JavaScript issue in Tapestry version update to 5.2.6 from 5.0.18

I am updating the tapestry version from 5.0.18 to 5.2.6.

  1. How can I disable loading default tapestry js files like ...(scriptaculous.js, tapestry-messages.js, tapestry-console.js, tapestry-beanvalidator.js)

  2. How to fix the JS conflicts as tapestry combines the JS files(like JQuery and default ones) even jQuery.noC开发者_开发知识库onflict(); also not working ?


  1. Tapestry will only load these *.js files if they are needed. So if you see these files loaded, you are using components that use them. You can however override the prototype and scriptaculous files loaded by overriding the tapestry.scriptaculous symbol and provide your own custom scripts. See the javascript documentation. Or you can contribute to the stack like described here.

  2. Have a look at tapestry-jquery

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜