|
#1
|
|||
|
|||
|
This thread discusses the "Interacting with the calling environment" tip published on the Ervacon Spring Web Flow Portal.
Read the tip at http://www.ervacon.com/products/swf/tips/tip3.html |
|
#2
|
||||
|
||||
|
Nice tip, Erwin! Looking forward to seeing the next one on alwaysRedirectOnPause :-)
Keith
__________________
Keith Donald Spring Web Flow Project Lead |
|
#3
|
|||
|
|||
|
Hi, it is a nice tip, but it is not working for me. I need some attributes inserted into the Http session. A Portlet running in Liferay should do this. When i try to cast the external context into ServletExternalContext i become a Cast exception. Does anybody has any Idea how to do this? Please Help!
![]() ![]() ![]()
|
|
#4
|
|||
|
|||
|
Quote:
__________________
glass security film – “provides you a safe refuge.” |
|
#5
|
|||
|
|||
__________________
glass security film – “provides you a safe refuge.” |
|
#6
|
|||
|
|||
|
Well gee. Maybe it is because you are in a well hmm portlet environment and you should cast it to a well lets get crazy here a PortletExternalContext?
__________________
Marten Deinum
Blog Use the [ code ] tags, young padawan |
|
#7
|
|||
|
|||
|
Hello folks. The issue was, that there is a tag in liferay-portlet.xml that looks like this <portlet-private-session>. If set to true you won't be able to communicate with the HTTP-Session. If set to false, all Attributes become shared for the Portlet and HTTP Session. This is specifically for the Liferay Portlal. Hope it helps.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|