You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by DAVIGNON Andre - CETE NP/DIODé/PANDOC <An...@developpement-durable.gouv.fr> on 2009/09/28 15:38:45 UTC
Re: sending data from flowscript to another pipeline
Hi,
Not sure to understand your use case but if you want to send data from
flowscript to another pipeline, just try :
cocoon.sendPage("cocoon://myPage",{data: myData});
and have a look at http://cocoon.apache.org/2.1/userdocs/flow/api.html
André
Le 28/09/2009 15:24, > Robby Pelssers (par Internet, dépôt
users-return-98126-andre.davignon=developpement-durable.gouv.fr@cocoon.apache.org)
a écrit :
> Hi all,
>
>
>
> I have a searchform (cocoon forms) where the user get’s back some
> dataset and by default I show an html table containing the data. I now
> would like to add an export to CSV button which converts my dataset to
> CSV and prompts the user with a download option.
>
>
>
> Is this possible and if so, how would I accomplish this?
>
>
>
> Thx in advance,
>
> Robby
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: sending data from flowscript to another pipeline
Posted by Robby Pelssers <ro...@ciber.com>.
The problem is that I'm in a showForm() loop so a sendPage results in a "this pipeline has already been processed exception".
-----Original Message-----
From: "DAVIGNON Andre - CETE NP/DIODé/PANDOC" [mailto:Andre.Davignon@developpement-durable.gouv.fr]
Sent: Monday, September 28, 2009 3:39 PM
To: users@cocoon.apache.org
Subject: Re: sending data from flowscript to another pipeline
Hi,
Not sure to understand your use case but if you want to send data from
flowscript to another pipeline, just try :
cocoon.sendPage("cocoon://myPage",{data: myData});
and have a look at http://cocoon.apache.org/2.1/userdocs/flow/api.html
André
Le 28/09/2009 15:24, > Robby Pelssers (par Internet, dépôt
users-return-98126-andre.davignon=developpement-durable.gouv.fr@cocoon.apache.org)
a écrit :
> Hi all,
>
>
>
> I have a searchform (cocoon forms) where the user get's back some
> dataset and by default I show an html table containing the data. I now
> would like to add an export to CSV button which converts my dataset to
> CSV and prompts the user with a download option.
>
>
>
> Is this possible and if so, how would I accomplish this?
>
>
>
> Thx in advance,
>
> Robby
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org