continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r725917 - in /continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin: BuildAgentAction-saveBuildAgent-validation.xml BuildAgentAction.properties
Date Fri, 12 Dec 2008 06:16:33 GMT
Author: ctan
Date: Thu Dec 11 22:16:32 2008
New Revision: 725917

URL: http://svn.apache.org/viewvc?rev=725917&view=rev
Log:
added validation when saving build agent

Added:
    continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction-saveBuildAgent-validation.xml
Modified:
    continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction.properties

Added: continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction-saveBuildAgent-validation.xml
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction-saveBuildAgent-validation.xml?rev=725917&view=auto
==============================================================================
--- continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction-saveBuildAgent-validation.xml
(added)
+++ continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction-saveBuildAgent-validation.xml
Thu Dec 11 22:16:32 2008
@@ -0,0 +1,30 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+  
+<!DOCTYPE validators PUBLIC
+    "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
+    "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+  <field name="buildAgent.url">
+    <field-validator type="requiredstring">
+      <message key="buildAgent.url.required"/>
+    </field-validator>
+  </field>
+</validators>
\ No newline at end of file

Modified: continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction.properties
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction.properties?rev=725917&r1=725916&r2=725917&view=diff
==============================================================================
--- continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction.properties
(original)
+++ continuum/branches/continuum-distributed-builds/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction.properties
Thu Dec 11 22:16:32 2008
@@ -17,6 +17,7 @@
 # under the License.
 #
 
+buildAgent.url.required = Build agent url is required.
 buildAgent.error.exist = Build agent already exists.
 buildAgent.error.delete.busy = Cannot delete build agent because it's busy at the moment
 buildAgent.error.notfound = Build agent does not exist.
\ No newline at end of file



Mime
View raw message