You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2002/05/03 01:49:36 UTC
cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin ApplicationResources_en.properties ApplicationResources_es.properties
manveen 02/05/02 16:49:36
Modified: webapps/admin banner.jsp
webapps/admin/WEB-INF struts-config.xml
webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ApplicationResources_en.properties
ApplicationResources_es.properties
Log:
* Added a link from the banner to save configuration changes to server.xml
Revision Changes Path
1.4 +17 -0 jakarta-tomcat-4.0/webapps/admin/banner.jsp
Index: banner.jsp
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/banner.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- banner.jsp 27 Feb 2002 05:40:57 -0000 1.3
+++ banner.jsp 2 May 2002 23:49:36 -0000 1.4
@@ -17,12 +17,29 @@
<h2 align="center"><bean:message key="index.success"/></h2>
<p>
+
+<%--
<h3 align="center">
<bean:message key="index.logout"/>
<html:link page="/logOut.do" target="_top">
<bean:message key="index.here"/>
</html:link>
</h3>
+--%>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
+ <tr>
+ <td colspan="2" align="center" nowrap>
+ <html:link page="/commitChanges.do" target="_self" styleClass="button">
+ <bean:message key="button.commit"/>
+ </html:link>
+
+ <html:link page="/logOut.do" target="_top" styleClass="button">
+ <bean:message key="button.logout"/>
+ </html:link>
+ </td>
+ </tr>
+</table>
<!-- Select language -->
1.45 +8 -0 jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- struts-config.xml 18 Apr 2002 06:55:09 -0000 1.44
+++ struts-config.xml 2 May 2002 23:49:36 -0000 1.45
@@ -374,6 +374,14 @@
redirect="true"/>
</action>
+ <!-- Save current settings to server.xml -->
+ <action path="/commitChanges"
+ type="org.apache.webapp.admin.CommitChangesAction">
+ <forward name="Banner"
+ path="/banner.jsp"
+ redirect="true"/>
+ </action>
+
<!-- Process a set-locale action -->
<action path="/setLocale"
type="org.apache.webapp.admin.SetLocaleAction"
1.49 +4 -4 jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties
Index: ApplicationResources_en.properties
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_en.properties,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ApplicationResources_en.properties 30 Apr 2002 18:10:47 -0000 1.48
+++ ApplicationResources_en.properties 2 May 2002 23:49:36 -0000 1.49
@@ -8,12 +8,12 @@
button.reset=Reset
button.save=Save
button.change=Change
-button.cancel=Cancel
+button.cancel=Reset
+button.commit=Commit Changes
+button.logout=Logout
login.enter=Enter a username and password to start a new session
login.changeLanguage=Change the language
index.success=Tomcat Server Administration Application
-index.logout=To end this session, click
-index.here=here
error.login=Invalid username or password
error.tryagain=To try again, click
error.here=here
@@ -223,7 +223,7 @@
realm.pattern=Role Search Pattern
realm.search=Search Subtrees
realm.userPassword=User Password
-realm.userPattern=User Search pattern
+realm.userPattern=User Search Pattern
valve.access.properties=Access Logger Properties
valve.request.properties=Request Filter Properties
valve.single.properties=Single SignOn Valve Properties
1.43 +5 -5 jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties
Index: ApplicationResources_es.properties
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/ApplicationResources_es.properties,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- ApplicationResources_es.properties 30 Apr 2002 18:10:47 -0000 1.42
+++ ApplicationResources_es.properties 2 May 2002 23:49:36 -0000 1.43
@@ -8,12 +8,12 @@
button.reset=Reiniciar
button.save=Guardar
button.change=Cambiar
-button.cancel=Cancelar
+button.cancel=Reajuste
+button.commit=Confie Cambiar
+button.logout=Logout
login.enter=Introduzca un nombre de usuario y una contrase\u00f1a para iniciar una nueva sesi\u00f3n
login.changeLanguage=Cambio de idioma
-index.success=\u00a1Autenticaci\u00f3n \u00e9xitosa!
-index.logout=Para finalizar esta sesi\u00f3n, presione
-index.here=aqu\u00ed
+index.success=Tomcat Server Administration Application
error.login=Nombre de usuario o contrase\u00f1a inv\u00e1lidos
error.tryagain=Para intentar de nuevo, presione
error.here=aqu\u00ed
@@ -223,7 +223,7 @@
realm.pattern=Modelo De la Busqueda Del Papel
realm.search=Search Subtrees
realm.userPassword=Palabra de paso Del Utilizador
-realm.userPattern=User Search pattern
+realm.userPattern=User Search Pattern
valve.access.properties=Propiedades del Access Logger
valve.request.properties=Propiedades del Request Filter
valve.single.properties=Propiedades del Single SignOn Valve
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>