Mar 5th, 2012, 10:43 AM
Accessing HttpSession attributes from a SimpleFormController
Hi, new to working with the portlet mvc framework and I have a question.
I'm building a Portlet app using the portlet web mvc framework. In a controller (an extension of SimpleFormController), I would like to access an attribute that got stored the current HttpSession. Previously using JSF I was able to access attributes like that by getting the FacesContext (FacesCOntext.getCurrentInstance()) and then working up through it's external context.
Is there a comparable way to do this from within a SimpleFormController?
Thanks in advance.