I've heard about it, but wasn't sure what it was for
;-) I'll give it a try.
Thanks,
-Alex
--- Laurent Trillaud <[EMAIL PROTECTED]> wrote:
> Alex.
> Have you taken a look on processPipelineTo()?
> The code become:
> if (update = true) {
> cocoon.processPipelineTo( "cocoon://load-feed",
> ...);
> cocoon.sendPage( "cocoon://display-result", ...);
> } else {
> cocoon.sendPage( "cocoon://display-result", ...);
> }
> Laurent
>
> > -----Message d'origine-----
> > De : Alex Romayev [mailto:[EMAIL PROTECTED]
> > Envoy� : vendredi 5 mars 2004 04:19
> > � : [EMAIL PROTECTED]
> > Objet : [flow] Conditional Processing
> >
> > Hi,
> >
> > I seem to have a mental block here, seems like
> this
> > should be straightforward, but I can't figure it
> out.
> >
> > I have a page, which displays a table of data. If
> the
> > user clicks "update now" button, I need to run a
> feed
> > load and then redisplay the results, however if
> the
> > users arrives at the page or refreshes it, then I
> > don't need to run the feed.
> >
> > I have two pipelines:
> > - load-feed
> > - display-results
> >
> > Logic in pseudo-code:
> >
> > if (update = true) {
> > call load-feed pipeline
> > call display-results pipeline
> > } else {
> > call display-results pipeline
> > }
> >
> > Any ideas?
> >
> > Thanks,
> > -Alex
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]