cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C Bram Dit Saint Amand <scs2c...@comp.leeds.ac.uk>
Subject Clarification on actions
Date Thu, 17 Jul 2003 16:19:10 GMT
>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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message