>You don't have to include the parts of your pipeline that are the
> same in the elements. You can just include the
> element, since it appears that you're not returning any parameters from
> your action, and then you won't have to duplicate the part that doesn't
> vary.
I'm returning the {pa
> It's also possible to only have the as child of
> and and the rest comes after :
>...
I see, thanks.
> But for my eyes still everything seems to be the same except the action
> interna. Maybe it's better to use only one action and choosing there
> internally what to do?
Yes! That's what I'm t
Josema,
You don't have to include the parts of your pipeline that are the
same in the elements. You can just include the
element, since it appears that you're not returning any parameters from
your action, and then you won't have to duplicate the part that doesn't
vary.
An even better w
.
Artur...
-Original Message-
From: Josema Alonso [mailto:alonso@;aafunky.com]
Sent: November 4, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: Re: dynamically choosing an action at runtime
Just use appropriate selector:
http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
-
> From: Josema Alonso [mailto:alonso@;aafunky.com]
> Sent: November 4, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: dynamically choosing an action at runtime
>
>
> > Just use appropriate selector:
> > http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
> &
> Just use appropriate selector:
> http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
>
I already tried but haven't found a nice way of using them for this purpose.
I can make something like the pipeline below, but i have dozens of similar
cases and it doesn't seem like a good approach.
Just use appropriate selector:
http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
Artur...
> -Original Message-
> From: Josema Alonso [mailto:alonso@;aafunky.com]
> Sent: November 4, 2002 11:39 AM
> To: Cocoon-Users
> Subject: dynamically choosing an action at runtime
>
>
>