Actions
Actions provide a mechanism to interact with the outside world and control what path is taken within the pipeline from the
results of that interaction. They take runtime parameters and utilise them in performing the action. The actions that Paloose
supports are:
- SendMailAction — allows
the pipeline to send mail on the basis of the data passing through the pipeline.
- Authorisation Actions
— allows the pipeline to restrict use until some authorisation takes place (login etc).
- Cookies Actions —
allows the pipeline access to the user's cookies (used in conjunction with ModuleWrite transformer.
Component Declarations
Actions are defined in the component declaration part of the Sitemap. For example
<map:actions>
<map:action name="sendmail" src="resource://lib/acting/SendMailAction"/>
<map:action name="auth-protect" src="resource://lib/acting/AuthAction"/>
<map:action name="auth-login" src="resource://lib/acting/LoginAction"/>
<map:action name="auth-logout" src="resource://lib/acting/LogoutAction"/>
</map:actions>
Copyright 2006 – 2017 Hugh Field-Richards. All Rights Reserved.