Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/help Help.java Help.properties

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/help Help.java Help.properties

Author commitlogger at hocus dot collab dot net
Full name commitlogger at hocus dot collab dot net
Date 2000-04-17 20:13:31 PDT
Message User: dlr
  Date: 00/04/17 20:13:31

  Modified: java/org/joist/help Help.java Help.properties
  Log:
  No new sXc functionality to merge in.
  
  Revision Changes Path
  1.4 +12 -3 joist/java/org/joist​/help/Help.java
  
  Index: Help.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/help/Help.java​,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Help.java 2000/02/29 01:23:57 1.3
  +++ Help.java 2000/04/18 03:13:31 1.4
  @@ -60,10 +60,10 @@
     * Display a help screen.
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​,
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
  - * Copyright (c) 1999, 2000 Collab.Net, Inc.
  + * Copyright (c) 1999, 2000 Collab.Net, Inc.
     */
   
   public class Help extends UnsecureServlet
  @@ -81,16 +81,25 @@
       // Let the superclass do it's part.
       String templateName = super.processRequest​(connection, context);
   
  + // Retrieve the topic that help is desired on.
       String page = context.getForm("page");
   
  + // Check for topic.
       if (page == null)
  + {
           redirectToError(context, "Sorry, no page specified for help.");
  + }
   
  - // Filter out help itself to prevent infinite recursion in template parser.
  + // Filter out help itself to prevent infinite recursion in template
  + // parser.
       if (page.equals("Help"))
  + {
           redirectToError(context, "Sorry, no help on help.");
  + }
       else
  + {
           context.put("servletName", page);
  + }
   
       return templateName;
       }
  
  
  
  1.3 +1 -0 joist/java/org/joist​/help/Help.propertie​s
  
  Index: Help.properties
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/help/Help.prop​erties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Help.properties 2000/01/30 13:00:35 1.2
  +++ Help.properties 2000/04/18 03:13:31 1.3
  @@ -1,3 +1,4 @@
   permission=
   servletTemplate=help/Help.wm
   servletName=Help
  +displayName=Help

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/help Help.java Help.properties commitlogger at hocus dot collab dot net commitlogger at hocus dot collab dot net 2000-04-17 20:13:31 PDT
Messages per page: