cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Hofmann" <>
Subject RE: Actions in Sitemap
Date Mon, 01 Oct 2001 14:46:34 GMT
> I have a question to Actions.
> I’ve put an Action LogOnAction to the Sitemap. It works, but the
> is that he always performs the action. Wheter I append
> cocoon-action=logon or not.

>     <map:act type="logOn" action="logOn">

What you're refering to holds true for action sets. So if you'd put
multiple actions in a set, only those with a matchin action tag would
be triggered.

Here, however, you use a simple action. These are executed regardless
of any parameter.

The lower part will only be executed if your action fails or after the
statements within are completed (wich doesn't occur since these
terminate the pipeline).

So you might want to remove the statements within the action since
they are identical to the ones below it. But the action would still be
triggered for every request.


Thanks for the quick answer, the problem was I didn't know the action
attribute is only used when the action is part of an actionset.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message