You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2003/02/03 00:28:17 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/bean CocoonBean.java

vgritsenko    2003/02/02 15:28:16

  Modified:    src/java/org/apache/cocoon/bean CocoonBean.java
  Log:
  Use Notifying constants
  
  Revision  Changes    Path
  1.3       +3 -2      xml-cocoon2/src/java/org/apache/cocoon/bean/CocoonBean.java
  
  Index: CocoonBean.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/bean/CocoonBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CocoonBean.java	2 Feb 2003 05:26:53 -0000	1.2
  +++ CocoonBean.java	2 Feb 2003 23:28:16 -0000	1.3
  @@ -61,6 +61,7 @@
   import org.apache.cocoon.components.notification.SimpleNotifyingBean;
   import org.apache.cocoon.components.notification.Notifier;
   import org.apache.cocoon.components.notification.DefaultNotifyingBuilder;
  +import org.apache.cocoon.components.notification.Notifying;
   import org.apache.cocoon.environment.Environment;
   import org.apache.cocoon.environment.commandline.CommandlineContext;
   import org.apache.cocoon.environment.commandline.LinkSamplingEnvironment;
  @@ -725,7 +726,7 @@
           n.setSource("Cocoon commandline (Main.java)");
           n.setMessage("Page Not Available.");
           n.setDescription("The requested resource couldn't be found.");
  -        n.addExtraDescription("request-uri", uri);
  +        n.addExtraDescription(Notifying.EXTRA_REQUESTURI, uri);
           n.addExtraDescription("missing-file", file.toString());
   
           PrintStream out = new PrintStream(dest.getOutputStream(file));
  
  
  

----------------------------------------------------------------------
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