cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Ramos" <mailing-li...@parsec.es>
Subject Re: Access the HttpSession within transform method of a custom transformer
Date Thu, 26 Aug 2004 18:14:44 GMT
Thanks, the pointer to WriteDOMSessionTransformer was very useful...


----- Original Message ----- 
From: "Ralph Goers" <Ralph.Goers@dslextreme.com>
To: <users@cocoon.apache.org>
Sent: Thursday, August 26, 2004 7:34 PM
Subject: Re: Access the HttpSession within transform method of a custom
transformer


> Why would you think it is not possible? If you look at
> WriteDOMSessionTransformer you'll see it accessing the Cocoon session. The
> Cocoon session as implemented today just calls the http session for
> everything it does. As an alternative, to be sure you can just get the
> HttpServletRequest from the ObjectModel and then get the HttpSession.
>
>
> Javier Ramos said:
> > Hallo,
> >
> >     I am trying to build a custom transformer that will need access to
> > session data.
> >     I would like to know if this is at all possible.
> >     I thought of using the ReadDOMSession and WriteDOMSession
> > transformers, but I want to store in the session objects which I
> > cannot serialize to XML, so I think they are not an option.
> >     Does anyone think it would be possible to gain access to the active
> > HttpSession inside the transform method of AbstractDOMTransformer, for
> > example?
> >
> > Thanks,
> >
> > Javier
>
>
> ---------------------------------------------------------------------
> 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