This action makes some request details available to the sitemap via parameter
substitution.
{context} - is the context path of the servlet (usually "/cocoon")
{requestURI} - is the requested URI without parameters
{requestQuery} - is the query string like "?param1=test" if there is one
Additionlly all request parameters can be made available for use in the sitemap.
if the parameter "parameters" is set to true.
(A variable is created for each request parameter (only if it doesn't exist)
with the same name as the parameter itself)
Default values can be set for request parameters, by including sitemap parameters
named "default.".
Sitemap definition:
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters param)
Controls the processing against some values of the
Dictionary objectModel and returns a
Map object with values used in subsequent
sitemap substitution patterns.
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
Controls the processing against some values of the
Dictionary objectModel and returns a
Map object with values used in subsequent
sitemap substitution patterns.
NOTE: This interface is designed so that implentations can be ThreadSafe.
When an action is ThreadSafe, only one instance serves all requests : this
reduces memory usage and avoids pooling.
objectModel - The Map with object of the
calling environment which can be used
to select values this controller may need
(ie Request, Response).
source - A source String to the Action
param - The Parameters for this invocation
Returns:
Map The returned Map object with
sitemap substitution values which can be used
in subsequent elements attributes like src=
using a xpath like expression: src="mydir/{myval}/foo"
If the return value is null the processing inside
the element of the sitemap will
be skipped.