Stephan
Thanks, sorry for my poor choice of words -
I had meant to say "use" the session... but
does what you have suggested imply there is
a de-facto "cocoon session" that already exists
by viture of the fact that I working with flow?
And.. does this approach work for array variables
as well? (I guess if it's an object, then yes??)
Thanks
Derek
>>> [EMAIL PROTECTED] 2004/06/28 10:24:02 AM >>>
Derek Hohls wrote:
>If I need to access variables, created in flow,
>from a JXTemplate page that is NOT called by
>the flowscript itself. how can I do that?
>
>(Do I need to create a session at the start of
>the flowscript, or is there some other, better
>way?)
>
>
>
>
No, it's not PHP;-) You don't need to create a session yourself
(normally) ;-)
You can use a session in flow simply like:
cocoon.session.setAttribute("foo", foo);
In JXTemplate you can retrieve you object like:
${cocoon.session.getAttribute('foo')}
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]