cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/sitemap RedirectToURINode.java
Date Tue, 13 Aug 2002 14:05:18 GMT
cziegeler    2002/08/13 07:05:18

  Modified:    src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        RedirectToURINode.java
  Log:
  Renaming keepSession to createSession and using the value passed into the constructor
  
  Revision  Changes    Path
  1.5       +5 -7      xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/sitemap/RedirectToURINode.java
  
  Index: RedirectToURINode.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/sitemap/RedirectToURINode.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RedirectToURINode.java	13 Aug 2002 14:04:15 -0000	1.4
  +++ RedirectToURINode.java	13 Aug 2002 14:05:18 -0000	1.5
  @@ -74,11 +74,11 @@
       /** The 'uri' attribute */
       private VariableResolver uri;
   
  -    private boolean keepSession;
  +    private boolean createSession;
   
  -    public RedirectToURINode(VariableResolver uri, boolean keepSession) throws PatternException
{
  +    public RedirectToURINode(VariableResolver uri, boolean createSession) throws PatternException
{
           this.uri = uri;
  -        this.keepSession = keepSession;
  +        this.createSession = createSession;
       }
   
       public final boolean invoke(Environment env, InvokeContext context)
  @@ -88,9 +88,7 @@
           if (getLogger().isInfoEnabled()) {
               getLogger().info("Redirecting to '" + resolvedURI + "' at " + this.getLocation());
           }
  -System.out.println("Redirecting to: " + resolvedURI);
  -        PipelinesNode.getRedirector(env).redirect(this.keepSession, resolvedURI);
  -System.out.println("Redirected and finish.");
  +        PipelinesNode.getRedirector(env).redirect(this.createSession, resolvedURI);
           return true;
       }
   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message