Re: dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
>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

Re: dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
> 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

Re: dynamically choosing an action at runtime

2002-11-04 Thread Justin Fagnani-Bell
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

Re: dynamically choosing an action at runtime

2002-11-04 Thread Joerg Heinicke
. 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

RE: dynamically choosing an action at runtime

2002-11-04 Thread Artur Bialecki
- > 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 > &

Re: dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
> 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.

RE: dynamically choosing an action at runtime

2002-11-04 Thread Artur Bialecki
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 > > >