You might try the "Read DOM Session Transformer":
http://cocoon.apache.org/2.1/userdocs/readdomsession-transformer.html

I have not used this Transformer.  I created an XSP to generate user
information and aggregated for processing with XSL.  Better methods
are likely.

Which version of Lenya is being used?  The answer is very likely to
affect possible solutions.

solprovider

On 1/8/09, Frank Hamilton <[email protected]> wrote:
>  I´m create an usecase that put  "myUser" object in to
>  org.apache.cocoon.environment.Session. This is for my own login task in
>  Lenya. This usecase create "myUser" object from my own BD (if the user exist
>  in BD), and put it in Session.
>
>  My question is: Can I get myUser.getName() from session in page2htmlHome.xsl
>  (for example)?. I need this to put the name of loger user in the header of
>  my publication.
>
>  Thanks, and excuse my poor English.

Reply via email to