But this version is too old, I need a newer version of jQuery. Is there any way to update the .js file that Servoy takes and includes?
Or maybe a way to remove this include?
I would try replacing this file out with a new version (rename the new version the same as the old as it’s most likely referenced by exact name upstream somewhere). You’ll have to connect to this directory via webdav. (On a mac > Finder > Go menu > Connect to server… > http://localhost:8080/servoy-webclient/ … yjs/jquery.)
The deal with Servoy’s various webdav directories is that they are generated by Servoy as web client solutions are spun up. If you modify one of those files yourself, Servoy will not overwrite your modification. So your “new” jquery file should be loaded in via the normal Servoy process of producing web pages.
So everytime I import a new solution, i should replace the jquery file at that location.
In development (i’m not on a mac) I go to http://localhost:8084/servoy-webclient/ … js/jquery/ (or …/jquery-1.8.2.min.js) and i get a 404 page.
Where does servoy gets the jquery.js file from, which it uses to put it there?
Just tested the webdav and turns out Servoy only exposes the …/templates directory via webdav. Checked with Troy and he has tested newer versions of jquery with Servoy using URLRewrite and the following rule:
<rule enabled="true">
<name>Servoy jQuery debug</name>
<note>Find issues in included jQuery plugins</note>
<from>^/servoy-webclient/resources/servoyjs/jquery/jquery-1.8.2.min.js(.*)$</from>
<to last="true">/ds/jquery.debug.js$1</to>
</rule>
Apparently newer versions of jquery do break all kinds of things in Servoy web client though as Nicola warns.
from jquery 1.9 they removed a lot of depricated api (i still think this is really a bad move from them, on the wicket list there where also quite a lot of discussions about this)
So many older stuff that did depend on that where completely broken.