cocoon-docs 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 (fwd)
Date Fri, 18 Jul 2003 12:48:05 GMT


---------- Forwarded message ----------
Date: Thu, 17 Jul 2003 17:19:10 +0100 (BST)
From: C Bram Dit Saint Amand <scs2cbds@comp.leeds.ac.uk>
To: users@cocoon.apache.org
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) "



Mime
View raw message