cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: Actions in Sitemap
Date Mon, 01 Oct 2001 14:29:08 GMT
On 01.Oct.2001 -- 04:17 PM, Henrik Hofmann wrote:
> Hi,
> I have a question to Actions.
> I’ve put an Action LogOnAction to the Sitemap. It works, but the problem
> 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.


C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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