google-code-export / activeweb

Automatically exported from code.google.com/p/activeweb
0 stars 0 forks source link

Session attributes don't work in case of Ajax request #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I am using @link_to tag with some destination(ajax call)
2. In controller I do some action and want to render template, where some 
session variable used, as I see in case of Ajax request session variables are 
not copied in context(opposite general request). I mean 
ParamCopy.copyInto((controllerResponse.values())); isn't called

I didn't sure is it issue at all, but I want to hear your oppinion.
I can directly put in view my session object, anyway, 
view("sessionAtr", session().get("sessionAttr"));

But I didn't sure is it proper.

Original issue reported on code.google.com by andreyma...@gmail.com on 1 Jun 2011 at 5:51