sending data from flowscript to another pipeline

View: New views
3 Messages — Rating Filter:   Alert me  

sending data from flowscript to another pipeline

by Robby Pelssers-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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


Re: sending data from flowscript to another pipeline

by "DAVIGNON Andre - CETE NP/DIODé/PANDOC"-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...)
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@...
For additional commands, e-mail: users-help@...


RE: sending data from flowscript to another pipeline

by Robby Pelssers-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...]
Sent: Monday, September 28, 2009 3:39 PM
To: users@...
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@...)
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@...
For additional commands, e-mail: users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...