ManuPK
ManuPK

Reputation: 11829

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.noConflict(); also not working ?

Upvotes: 0

Views: 386

Answers (1)

joostschouten
joostschouten

Reputation: 3893

  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

Upvotes: 1

Related Questions