We have a project where we're using Spring-js
. With it comes Spring-dojo
and the full dojo
package. But in the current version of Spring-js (2.0.9)
, it's using dojo 1.3
. Is there a way to upgrade manually to dojo 1.4
? Or even a new Spring-js.jar
-file that can be donwloaded that uses dojo 1.4
?
views:
307answers:
2Yes. If you are using the ResourceServlet, you can simply drop the new version of Dojo in the top-level directory of your WAR structure. The ResourceServlet always looks there before it looks on the classpath, thus resources in top-level of the WAR take precedence. I would suggest using a full uncompressed source distro of Dojo during development, and then doing a custom build that is tailored to your usage patterns for production.
Beware that we've occasionally seen some minor incompatibilities when upgrading Dojo versions, so be on the lookout for that and report any issues in the Web Flow Jira.
I suspect we'll be upgrading to Dojo 1.4 in the official distribution for the upcoming Spring Web Flow 2.1 release.
Btw., spring webflow 2.0.9 uses dojo 1.2.4 not 1.3 as the release notes tell