2 Replies Latest reply on Apr 25, 2010 4:55 PM by michmess

    Session.APPLICATION_SCOPE in GateIn

    michmess

      Hello to everybody, first post here.

      I've written a couple of portlets wich work well in JBoss Portal 2.7 and Liferay, but I've some problems in GateIn.

      The portlets are all in the same .war, and I use the APPLICATION_SCOPE to pass values from one portlet to the other.

      In GateIn I always get null values:

      Portlet A sets the value

      portletSession.setAttribute("var","value",PortletSession.APPLICATION_SCOPE)

       

      Portlet A can read this value

      portletSession.getAttribute("var",PortletSession.APPLICATION_SCOPE)

      returns "value"

       

      Portlet B can't access this data

      portletSession.getAttribute("var",PortletSession.APPLICATION_SCOPE)

      returns null

       

      Thank you for your help, and sorry for my English as it's not my native tongue.

      Regards

      Mich