You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by dd...@apache.org on 2007/02/22 04:53:41 UTC

svn commit: r510379 - /portals/pluto/trunk/pluto-testsuite/src/main/webapp/jsp/SessionTimeoutTest.jsp

Author: ddewolf
Date: Wed Feb 21 19:53:41 2007
New Revision: 510379

URL: http://svn.apache.org/viewvc?view=rev&rev=510379
Log:
PLUTO-310; Forcing session timeout test to be invoked in MAX state

Modified:
    portals/pluto/trunk/pluto-testsuite/src/main/webapp/jsp/SessionTimeoutTest.jsp

Modified: portals/pluto/trunk/pluto-testsuite/src/main/webapp/jsp/SessionTimeoutTest.jsp
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-testsuite/src/main/webapp/jsp/SessionTimeoutTest.jsp?view=diff&rev=510379&r1=510378&r2=510379
==============================================================================
--- portals/pluto/trunk/pluto-testsuite/src/main/webapp/jsp/SessionTimeoutTest.jsp (original)
+++ portals/pluto/trunk/pluto-testsuite/src/main/webapp/jsp/SessionTimeoutTest.jsp Wed Feb 21 19:53:41 2007
@@ -1,9 +1,10 @@
+<%@ page import="javax.portlet.WindowState" %>
 <%--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
@@ -26,7 +27,7 @@
   <c:when test="${results.inQuestion}">
     
     <%-- Generate portlet render URL: Start =============================== --%>
-    <portlet:renderURL secure='<%= renderRequest.isSecure() ? "True" : "False" %>'
+    <portlet:renderURL windowState="<%=WindowState.MAXIMIZED.toString()%>" secure='<%= renderRequest.isSecure() ? "True" : "False" %>'
                        var="url">
       <portlet:param name="maxInactiveIntervalSet" value="<%= Boolean.TRUE.toString() %>"/>
       <portlet:param name="testId" value="<%= renderRequest.getParameter("testId") %>"/>
@@ -53,6 +54,11 @@
             This test requires manual intervention. Please wait for at least
             5 seconds and click <a href="<c:out value="${url}"/>">here</a>.
           </p>
+            <p>
+                NOTE: Clicking the url above will maximize this portlet.  This is required
+                to ensure that no other portlets on the current page recreate the session we
+                are trying to invalidate.
+            </p>
         </td>
       </tr>
     </table>