I have seen quite a few questions regarding the use of dojox in roo applications. Here is a recipe for how I got it to work (mostly). I hope this helps someone out.
The first step is to get dojox into your environment. I found this post that stated that webflow is compatible with dojox.
So the first thing I did was modify my pom.xml...
Add the repository like this:
Code:<repository> <id>org.springframework.maven.snapshot</id> <name>Maven Central Compatible Spring Snapshot Repository</name> <url>http:// maven.springframework.org/snapshot</url> </repository>
then change the version on the maven dependency:
Now you need to modify the util/load-scripts.tagx file to include dojox. That's really it... dojox loads fine...Code:<dependency> <groupId>org.springframework.webflow</groupId> <artifactId>spring-js-resources</artifactId> <version>2.2.0.BUILD-SNAPSHOT</version> </dependency>
Hope this helps someone out... BTW) This should not be necessary in the next version of roo.


Reply With Quote