0 Replies Latest reply on Oct 17, 2007 5:42 AM by maruthi g

    window state problem with jboss portals

    maruthi g Newbie

      Hi

      I am new to jboss potals i am developing an application using jboss portals
      in mypotal i have 3 jsp portlets in this app when i maximise a window and click on logout link and if i login again the window will be in maximized state.but i want to set it to default view.i think the portal session is maintaining the window state in cachehow can delete the window state from portal cache.

      even i tryed by using

      PortletSession ps = renderRequest.getPortletSession(false);
      ps.invalidate();

      and also

      if(request.getRequestURI().endsWith("/SOSLogout")){
      renderRequest.getPortletSession(false).setAttribute("user.login", "false", PortletSession.APPLICATION_SCOPE);
      renderRequest.getPortletSession(false).setAttribute("user_value", null, PortletSession.APPLICATION_SCOPE);
      session.invalidate();
      session =null;


      but still the windowstate is not getting removed
      please help me