> You can always take data from an input module in the sitemap 
> and supply 
> it to a flowscript function as a parameter.
> 
> >      I need  to find a  way to inject those values into the 
> pipeline.
> 
> Use the session-context input module (see 
> http://cocoon.apache.org/2.1/developing/webapps/contexts.html, at the 
> very bottom)
> 
> >  Someone has an idea on how?
> >    I'd also like to know the best way to retrieve those values from
> > flowscript...
> 
> Supply the values as parameters in the call to the flowscript 
> function.

I don't think this is practical since I have to add these parameters to all
functions thus cluttering both the sitemap and the functions. 

I'm currently running into this: I need to supply info on the logged-in user
from the authentication context in the session. So I built a "getUser"
pipeline that extracts the info using the SessionTransformer. I "cinclude"
this pipeline in every JXTemplate that displays a page. Works ok, except....
when the authentication context is lost. Then, an exception is thrown and I
get into trouble.

This same exception is thrown in the sitemap when
{session-context:/authentication/ID} is used.

Bye, Helma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to