You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2001/07/23 18:31:29 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon/acting SessionStateAction.java

haul        01/07/23 09:31:29

  Modified:    src/org/apache/cocoon/acting Tag: cocoon_20_branch
                        SessionStateAction.java
  Log:
  moved configure method code to AbstractConfigurabeAction (sic!), subclassed it with
    ConfigurableComposableAction, moved some actions that used that configuration scheme
    to appropriate superclasses.
  
  extended actions that do take parameters but didn't support configuration of default
    values to use this scheme
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +3 -5      xml-cocoon2/src/org/apache/cocoon/acting/SessionStateAction.java
  
  Index: SessionStateAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/SessionStateAction.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SessionStateAction.java	2001/07/13 13:37:48	1.1.2.1
  +++ SessionStateAction.java	2001/07/23 16:31:29	1.1.2.2
  @@ -69,8 +69,8 @@
    * @see org.apache.cocoon.selection.SessionStateSelectorFactory
    *
    * @author <a href="mailto:haul@informatik.tu-darmstadt.de">Christian Haul</a>
  - * @version CVS $Id: SessionStateAction.java,v 1.1.2.1 2001/07/13 13:37:48 dims Exp $ */
  -public class SessionStateAction extends ComposerAction {
  + * @version CVS $Id: SessionStateAction.java,v 1.1.2.2 2001/07/23 16:31:29 haul Exp $ */
  +public class SessionStateAction extends AbstractConfigurableAction {
   
       private static String componentName = "REZEPTE SessionStateAction";
       protected String statekey = Constants.SESSION_STATE_ATTRIBUTE;
  @@ -79,10 +79,8 @@
       protected int mylevel = 0;
   
       /**
  -     * read settings from global section and store them for
  -     * easier access to instance variables.
  +     * Configures the Action.
        */
  -
       public void configure(Configuration conf) throws ConfigurationException 
       {
   	super.configure(conf);
  
  
  

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