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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to