tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin ApplicationResources_en.properties ApplicationResources_es.properties SampleAction.java
Date Fri, 09 Nov 2001 18:18:43 GMT
patrickl    01/11/09 10:18:43

  Modified:    webapps/admin/WEB-INF struts-config.xml
               webapps/admin/WEB-INF/classes/org/apache/webapp/admin
                        ApplicationResources_en.properties
                        ApplicationResources_es.properties
                        SampleAction.java
  Log:
  Enhanced tree-control-test.jsp and related files so that the Tree Control is embedded in
a "frame-style" layout.
  
  Revision  Changes    Path
  1.5       +2 -2      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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- struts-config.xml	2001/11/06 20:40:13	1.4
  +++ struts-config.xml	2001/11/09 18:18:43	1.5
  @@ -73,8 +73,8 @@
       <action    path="/sample"
                  type="org.apache.webapp.admin.SampleAction"
                  name="sampleForm"
  -              scope="request"
  -              input="/index.jsp">
  +              scope="session"
  +              input="/tree-control-test.jsp">
       </action>
   
       <!-- Process a set-locale action -->
  
  
  
  1.2       +2 -1      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ApplicationResources_en.properties	2001/10/25 16:37:38	1.1
  +++ ApplicationResources_en.properties	2001/11/09 18:18:43	1.2
  @@ -12,8 +12,9 @@
   login.changeLanguage=Change the language
   index.success=Login successful!
   index.logout=To end this session, click
  +index.redirect=To see the sample "Tree Control", click
   index.here=here
  -error.login=Invalid username or password, please try again
  +error.login=Invalid username or password
   error.tryagain=To try again, click
   error.here=here
   prompt.someText=Some Text
  
  
  
  1.2       +2 -0      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ApplicationResources_es.properties	2001/10/25 16:37:38	1.1
  +++ ApplicationResources_es.properties	2001/11/09 18:18:43	1.2
  @@ -12,7 +12,9 @@
   login.changeLanguage=Cambie el idioma
   index.success=\u00a1Autenticaci\u00f3n tiene \u00e9xito!
   index.logout=Para terminar esta sesi\u00f3n, pulse
  +index.redirect=Para ver el ejemplo del \u00abTree control\u00bb, pulse
   index.here=aqu\u00ed
  +error.login=Nombre de usuario invalido o contrase\u00f1a invalida
   error.tryagain=Para intentar de nuevo, pulse
   error.here=aqu\u00ed
   prompt.someText=Alg\u00fan Texto
  
  
  
  1.2       +6 -7      jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SampleAction.java
  
  Index: SampleAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SampleAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SampleAction.java	2001/10/25 16:37:38	1.1
  +++ SampleAction.java	2001/11/09 18:18:43	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SampleAction.java,v
1.1 2001/10/25 16:37:38 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/10/25 16:37:38 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SampleAction.java,v
1.2 2001/11/09 18:18:43 patrickl Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/11/09 18:18:43 $
    *
    * ====================================================================
    *
  @@ -78,7 +78,7 @@
    * Implementation of <strong>Action</strong> that validates a user logon.
    *
    * @author Patrick Luby
  - * @version $Revision: 1.1 $ $Date: 2001/10/25 16:37:38 $
  + * @version $Revision: 1.2 $ $Date: 2001/11/09 18:18:43 $
    */
   
   public final class SampleAction extends Action {
  @@ -108,9 +108,8 @@
                                    HttpServletResponse response)
           throws IOException, ServletException {
   
  -        // Always return to the input page. This method only saves the form
  -        // data and redisplays the data with the saved values.
  -        return new ActionForward(mapping.getInput());
  +        // Forward back to the test page
  +        return (mapping.findForward("Tree Control Test"));
   
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message