mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
Fixing borked unit tests (bad programmer!), made sitegraph executable,
moved over sitegraph's docs to the plugin WW-1483 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -317,7 +317,9 @@ public class DefaultActionMapperTest extends StrutsTestCase {
|
||||
request.setParameterMap(parameterMap);
|
||||
|
||||
DefaultActionMapper defaultActionMapper = new DefaultActionMapper();
|
||||
defaultActionMapper.setContainer(container);
|
||||
ActionMapping actionMapping = defaultActionMapper.getMapping(request, configManager);
|
||||
|
||||
|
||||
Result result = actionMapping.getResult();
|
||||
assertNotNull(result);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
dojo.require("dojo.event.connect");
|
||||
dojo.require("dojo.event.*");
|
||||
var containingForm = document.getElementById("myAction");
|
||||
dojo.event.connect(containingForm, "onsubmit",
|
||||
function(evt) {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
dojo.require("dojo.event.connect");
|
||||
dojo.require("dojo.event.*");
|
||||
var containingForm = document.getElementById("myAction");
|
||||
dojo.event.connect(containingForm, "onsubmit",
|
||||
function(evt) {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
dojo.require("dojo.event.connect");
|
||||
dojo.require("dojo.event.*");
|
||||
var containingForm = document.getElementById("myAction");
|
||||
dojo.event.connect(containingForm, "onsubmit",
|
||||
function(evt) {
|
||||
|
||||
@@ -18,6 +18,23 @@
|
||||
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/plugins/sitegraph/</url>
|
||||
</scm>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>org.apache.struts2.sitegraph.SiteGraph</mainClass>
|
||||
<addClasspath>true</addClasspath>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user