cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Hoskens" ...@schaubroeck.be>
Subject Re: correct way to use flow with session-contexts?
Date Wed, 04 Feb 2004 10:54:28 GMT
While looking at the wiki flow page I saw that you can access your session
through cocoon.session in your flowscript. And it should also be possible to
use the inputmodules from within the flow as stated in the answer at the
bottom of the page (cocoon-specific objects in your flow, good to know
them!).

http://wiki.cocoondev.org/Wiki.jsp?page=Flow

Hope this helps,

Jan

----- Original Message ----- 
From: "Joakim Verona" <joakim@verona.se>
To: <users@cocoon.apache.org>
Sent: Wednesday, February 04, 2004 11:27 AM
Subject: correct way to use flow with session-contexts?


> Hello,
>
> I would like to access "session context" data from flowscript.
> While googling around, I got the impression that the only way to do this
is
> to send a parameter from the sitemap to the flowscript function using
> input modules.
>
> This seems a little inconvenient, but maybe it results in good
> modularization.
>
> On the other hand, if I'm going to send session context data to a
> flowscript using the
> input module, I would like to send entire chunks of xml, not just a node
> or an attribute.
>
> How can this be acomplished?
>
> It seems to me flowscript and jxtransformer is more geared towards using
> traditional servlet session atributes,
> with setAtribute and getAttribute. Is this correct? Which is the
> prefered "cocoon way"?  Who do these pieces fit together?
>
>
> Cheers,
> /Joakim
>
>
> ---------------------------------------------------------------------
> 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