cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon2/xdocs actions.xml
Date Tue, 29 May 2001 20:13:13 GMT
giacomo     01/05/29 13:13:13

  Modified:    xdocs    actions.xml
  Log:
  corrected sample description
  
  Revision  Changes    Path
  1.2       +2 -2      xml-cocoon2/xdocs/actions.xml
  
  Index: actions.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/actions.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- actions.xml	2001/05/09 20:50:22	1.1
  +++ actions.xml	2001/05/29 20:13:12	1.2
  @@ -105,7 +105,7 @@
   <![CDATA[
   package test;
   
  -import org.apache.avalon.Parameters;
  +import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.cocoon.acting.AbstractAction;
   import org.apache.cocoon.Constants;
   import java.util.Map;
  @@ -120,7 +120,7 @@
   
       Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
   
  -    request.setParameter("hello", "world");
  +    request.setAttribute("hello", "world");
   
       return sitemapParams;
     }
  
  
  

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