cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: [FLOW] - How to get bizData from another flow
Date Wed, 07 Jan 2004 22:04:04 GMT
No answer :-(

Best Regards,

Antonio Gallardo

Antonio Gallardo dijo:
> Hi:
>
> I cannot found info about the topic of this mail. I tried to call a new
> flow request from a flow function:
>
> cocoon.sendPage("nextPage", {"anIntegerId": anIntegerId);
>
> The variable "anIntegerId" has data, but I cannot "catch" or "get" it on
> the next flow function:
>
> function nextPageProcessing() {
>     var fromTheLastRequest = parseInt(cocoon.request.anIntegerId);
>     ....
> }
>
> I read in wiki:
>
> <snip>
> bizData is an object, usually to send multiple key->value pairs to the
> page. These are sent using JPath, and can be retrieved using the JPath
> Logicsheet, Transformer, or Generator. (See above)
> </snip>
>
> But I think it would be a good idea to allow flow to read the bizData. If
> this is posible, please tell me how I can do this?
>
> Currently, we are doing a workaround I don't like:
>
> cocoon.sendPage("nextPage?anIntegerId=" + anIntegerId);
>
> It is not elegant to me. Maybe the solution is in storing the info the the
> user session, but I think it would create more loud.
>
> Best Regards,
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message