[jboss-dev-forums] [Nukes Development] - window state problem with jboss portals

maruthig do-not-reply at jboss.com
Wed Oct 17 05:42:33 EDT 2007


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





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095966#4095966

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095966



More information about the jboss-dev-forums mailing list