Logo
 
 
 
spacer

Introduction

Actions are executed during pipeline setup. Their purpose is to execute some arbitrary complex code. They are the work horses of pipelines. Use them to update databases, check external resources etc. The execution may fail or complete successfully. Only if the execution was successful, the pipeline fragment contained inside is used within the pipeline. Related concepts are matchers and selectors. Since this is important, let me repeat it: Actions are executed during pipeline setup.

Action sets group actions together. If some actions are often used together in pipeline fragments, it's easier to group them and refer to the group. For more info, please see the docs.

Overview

The following section presents the actions available in Cocoon. It was auto-generated from the java source files.

org.apache.cocoon.acting.DatabaseUpdateAction

Update a record in a database.

Overview

Name    
Class   org.apache.cocoon.acting.DatabaseUpdateAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractDatabaseAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.DatabaseUpdateAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.OraUpdateAction

Update a record in a database.

Overview

Name    
Class   org.apache.cocoon.acting.OraUpdateAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.DatabaseUpdateAction
org.apache.cocoon.acting.AbstractDatabaseAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.OraUpdateAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SessionInvalidatorAction

This is the action used to invalidate an HTTP session.

Overview

Name    
Class   org.apache.cocoon.acting.SessionInvalidatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SessionInvalidatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SendmailAction

The SendmailAction class sends email.

Overview

Name    
Class   org.apache.cocoon.acting.SendmailAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SendmailAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.ExtendedSectionCutterAction

An action designed to set any number of variables, based on the current site section.

Overview

Name    
Class   org.apache.cocoon.acting.ExtendedSectionCutterAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.ExtendedSectionCutterAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.HttpHeaderAction

This action adds HTTP headers to the response.

Overview

Name    
Class   org.apache.cocoon.acting.HttpHeaderAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.HttpHeaderAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SessionIsValidAction

This action just checks if a session exists and whether the current seesion is still valid.

Overview

Name    
Class   org.apache.cocoon.acting.SessionIsValidAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SessionIsValidAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.ScriptAction

A simple action that executes any script that can be run by the BSF

Overview

Name    
Class   org.apache.cocoon.acting.ScriptAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ComposerAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.ScriptAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SessionStateAction

Store the session's current state in a session attribute.

Overview

Name    
Class   org.apache.cocoon.acting.SessionStateAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SessionStateAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.LocaleAction

LocaleAction is a class which obtains the request's locale information (language, country, variant) and makes it available to the sitemap/pipeline.

Overview

Name    
Class   org.apache.cocoon.acting.LocaleAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ComposerAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.LocaleAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.DatabaseCookieAuthenticatorAction

This action is used to authenticate user by comparing several cookie values (username, password) with the values in database.

Overview

Name    
Class   org.apache.cocoon.acting.DatabaseCookieAuthenticatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractDatabaseAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.DatabaseCookieAuthenticatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SessionPropagatorAction

This is the action used to propagate parameters into session.

Overview

Name    
Class   org.apache.cocoon.acting.SessionPropagatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SessionPropagatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.MultiAction

This is just a simple example how to use the new action syntax.

Overview

Name    
Class   org.apache.cocoon.acting.MultiAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractMethodAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version   
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.MultiAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.HelloAction

A simple Action that tracks if a Session object has been created or not.

Overview

Name    
Class   org.apache.cocoon.acting.HelloAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ComposerAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.HelloAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SectionCutterAction

An action designed to set any number of variables, based on the current site section.

Overview

Name    
Class   org.apache.cocoon.acting.SectionCutterAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SectionCutterAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SessionValidatorAction

This is the action used to validate Session parameters (attributes).

Overview

Name    
Class   org.apache.cocoon.acting.SessionValidatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractValidatorAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.SessionValidatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.CookieValidatorAction

This is the action used to validate Cookie parameters (values).

Overview

Name    
Class   org.apache.cocoon.acting.CookieValidatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractValidatorAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.CookieValidatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.ServerPagesAction

Allows actions to be written in XSP.

Overview

Name    
Class   org.apache.cocoon.acting.ServerPagesAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable
org.apache.avalon.excalibur.logger.LogKitManageable  
AllSuperclasses  org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.ServerPagesAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.DatabaseAuthenticatorAction

This action is used to authenticate user by comparing several request fields (username, password) with the values in database.

Overview

Name    
Class   org.apache.cocoon.acting.DatabaseAuthenticatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractDatabaseAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.DatabaseAuthenticatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.FormValidatorAction

This is the action used to validate Request parameters.

Overview

Name    
Class   org.apache.cocoon.acting.FormValidatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractValidatorAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.FormValidatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.LangSelect

LangSelect Action returns two character language code to sitemap.

Overview

Name    
Class   org.apache.cocoon.acting.LangSelect  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   
Deprecated  Use LocaleAction instead.  

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.LangSelect"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.ResourceExistsAction

This action simply checks to see if a given resource exists.

Overview

Name    
Class   org.apache.cocoon.acting.ResourceExistsAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ComposerAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.ResourceExistsAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.DatabaseAddAction

Adds record in a database.

Overview

Name    
Class   org.apache.cocoon.acting.DatabaseAddAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.AbstractDatabaseAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.DatabaseAddAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.OraAddAction

Add a record in a database.

Overview

Name    
Class   org.apache.cocoon.acting.OraAddAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.DatabaseAddAction
org.apache.cocoon.acting.AbstractDatabaseAction
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
org.apache.cocoon.acting.ConfigurableComposerAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.OraAddAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.CookieCreatorAction

The CookieCreatorAction class create or remove cookies.

Overview

Name    
Class   org.apache.cocoon.acting.CookieCreatorAction  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Component
org.apache.cocoon.acting.Action
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.acting.ComposerAction
org.apache.cocoon.acting.AbstractAction
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: actions-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  
Since   

Sitemap Definition

Actions sitemap definition:

<map:actions>
  ...
  <map:action name="" 
    src="org.apache.cocoon.acting.CookieCreatorAction"/>
  ...
</map:actions>

Action usage in an action set definition:

<map:action-sets>
 <map:action-set name="action-set-name">
  <map:act type="" action="ActionName"/>
  ...
 </map:action-set>
 ...
</map:action-sets>

Sitemap Usage

Action usage example using a single action

<map:pipeline>
  <map:match pattern="foo"/>
    <map:act type="">
     <map:parameter name="fooparameters" value="bar"/>
     ...
     <map:generate src="barfoo.xml"/>
     ...
    </map:act>
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.acting.SetCharacterEncodingAction

Sets the character encoding of parameters.

Overview