continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r161910 - maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml
Date Tue, 19 Apr 2005 15:54:22 GMT
Author: jvanzyl
Date: Tue Apr 19 08:54:21 2005
New Revision: 161910

URL: http://svn.apache.org/viewcvs?view=rev&rev=161910
Log: (empty)


Added:
    maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml

Added: maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml?view=auto&rev=161910
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml (added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml Tue
Apr 19 08:54:21 2005
@@ -0,0 +1,33 @@
+<form>
+  <id>addMavenOneProject</id>
+  <source-role>org.apache.maven.continuum.Continuum</source-role>
+  <elements>
+    <!--
+    TODO: we're going to have to move away from dotted properties because it confuses OGNL
i.e #project.foo
+    isn't used as a string literal. OGNL looks for a project reference which will be null.
+    -->
+    <element>
+      <id>m1PomUrl</id>
+      <validator>default</validator>
+      <expression>scmUrl</expression>
+      <type>text</type>
+    </element>
+  </elements>
+
+  <!-- Add -->
+  <add>
+    <title-key>project.title.add</title-key>
+    <action>callMethod</action>
+    <view>continuumProject.form?mode=summary</view>
+    <expression>addProjectFromUrl(#m1PomUrl,"maven-1")</expression>
+  </add>
+
+  <!-- Update -->
+  <update>
+    <title-key>project.title.update</title-key>
+    <action>updateEntity</action>
+    <view>continuumProject.form?mode=summary</view>
+    <expression>updateMavenOneProject(#entity)</expression>
+  </update>
+
+</form>

Added: maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml?view=auto&rev=161910
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml (added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml Tue
Apr 19 08:54:21 2005
@@ -0,0 +1,28 @@
+<form>
+  <id>addMavenTwoProject</id>
+  <source-role>org.apache.maven.continuum.Continuum</source-role>
+  <elements>
+    <element>
+      <id>m2PomUrl</id>
+      <validator>default</validator>
+      <type>text</type>
+    </element>
+  </elements>
+
+  <!-- Add -->
+  <add>
+    <title-key>project.title.add</title-key>
+    <action>callMethod</action>
+    <view>continuumProject.form?mode=summary</view>
+    <expression>addProjectFromUrl(#m2PomUrl,"maven2")</expression>
+  </add>
+
+  <!-- Update -->
+  <update>
+    <title-key>project.title.update</title-key>
+    <action>updateEntity</action>
+    <view>continuumProject.form?mode=summary</view>
+    <expression>updateMavenTwoProject(#entity)</expression>
+  </update>
+
+</form>



Mime
View raw message