---------- Forwarded message ---------- Date: Thu, 17 Jul 2003 17:19:10 +0100 (BST) From: C Bram Dit Saint Amand <[EMAIL PROTECTED]> To: [email protected] Subject: Clarification on actions
>From http://cocoon.apache.org/2.1/userdocs/concepts/actions.html: In the sample code, we have: <map:act type="session-invalidator" action="logoff"/> Corresponding explanation: " The "session-invalidator" action gets called when an action of logoff is requested (ie. a html submit button named "cocoon-action" with the value "logoff" was pressed) " Does it really correspond to the 'value' attribute, or to 'ACTIONAME' in: <input type="submit" name="cocoon-action-ACTIONAME" value="click here to do something"> I guess it's the second case (i.e. replaces 'ACTIONAME'), but you must admit that it's quite confusing. A way of rewriting this passage could be (if I correctly understand how actions work): " The "session-invalidator" action gets called when an action of logoff is requested (ie. a html submit button named "cocoon-action-logoff" was pressed) "
