Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
a beginners problem using Spring XT Framework, Maven, and Eclipse Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • a beginners problem using Spring XT Framework, Maven, and Eclipse

    Having trouble getting the springxt.js file to include in my jsp file properly. Working with a Spring project in Eclipse that uses Maven 2 to download dependencies, and therefore have added the

    <groupId>org.springmodules</groupId>
    <artifactId>spring-modules-xt</artifactId>
    <version>0.8a</version>

    dependency to the pom. This puts spring-modules-xt-0.8a.jar into Maven Dependencies properly which appears to contain the springxt.js file in js.lib.core

    I so far am unable to get the script file to load properly and thus the XT.doAjaxAction remains undefined when attempting to run in the webapp a test similar to the tutorial available here: https://springmodules.dev.java.net/d...l/xt.html#ajax

    A war is created for the project and the war is then deployed to a tomcat server. The war itself appears to have the spring-modules-xt-0.8a.jar file in it as expected. Attempting to include the javascript into the test page as follows:
    <script language="JavaScript" type="text/javascript" src="jar:../lib/spring-modules-xt-0.8a.jar!/js/lib/core/springxt.js"></script> does not appear successful. The root of the problem I suppose is in the src path but am having trouble finding actual documentation on how to use the src path correctly in regards to jar files.
Working...
X