cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giancarlo Rosso <ros...@overweb.it>
Subject Re: Actions and Session
Date Tue, 16 Sep 2003 13:14:46 GMT
Quoting Stefan Klein <kleins@web.de>:

> >This way a can get session attributes either as parameter passed from
> sitemap,
> >or with Session object in an Action. Am i right?
> 
> Not sure whether I got you right: You mean, assign {session-attr:username} to
> an action parameter and then use the parameter in the action?
> 
> This seems to me an overly complicated way of doing this. Simply accessing
> the session object in the action, as you suggest as well, seems a lot more
> reasonable.
> 

Yep!
I think that filling sitemaps with <map:parameter> is a bit ugly...
Can i access request-param the same way? I mean, inside an action, without
assigning {request-param:foo} in my sitemap.xmap.
Thanx for helping me.

-- 
Ing. Giancarlo Rosso  
     MCR Srl
 rossog@overweb.it  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message