Hi,

I have a problem getting custom values from the httpSession (NOT the
portletSession) in the header.vm 
I tried different options like:

1. #set( $s_NO = $request.session.getAttribute("session_attr") )
2. #set( $s_NO = $request.getSession().getAttribute("session_attr") )
3. #set( $s_NO = $session.getAttribute("session_attr") )
4. #set( $s_NO = $session.session_attr )

with the same result. $s_NO is always empty.
I also tried to import a custom jsp file with the import directive to read
out my Session attributes

$import.read("http://localhost:8080/jetspeed/decorations/layout/ls1/file.jsp";) 

However  <%= session.getAttribute("session_attr") %> returns "null"


Could someone respond with a solution?

Thanks 
Roland

-- 
View this message in context: 
http://www.nabble.com/Getting-attributes-from-HttpSession-in-header.vm-tp20418973p20418973.html
Sent from the Velocity - User mailing list archive at Nabble.com.


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

Reply via email to