Yes, this is required by the spec. See the javadoc for ExternalContext.getSessionMap().
Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert > -----Original Message----- > From: Henrik Bentel [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 12:41 PM > To: [email protected] > Subject: Myfaces and PortletSession > > Hi > > I posted this to the user group with no reply. > > After working with MyFaces and portlets I noticed that > the org/apache/myfaces/context/portlet/SessionMap only uses PORTLET_SCOPE > when looking for objects in the session map. > > It never uses the application scope (PortletSession.APPLICATION_SCOPE), > which is usefull for portlet to portlet communication. > > I'm just curious if this is required by the JSF specification or just > the obvious choice. > > I can working around this in my backing beans, but when using JFL EL > in my JSPs I am > stuck to the "#{sessionScope.fooObj}" syntax which will only look in > the portlet scope. > > I was hoping it would first look in the PORTLET_SCOPE, and if not > found, then look in the application scope. > > > thx, > Henrik
