You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jc...@apache.org on 2009/01/06 15:44:23 UTC

svn commit: r731960 - in /wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings: ISessionSettings.java Settings.java

Author: jcompagner
Date: Tue Jan  6 06:44:22 2009
New Revision: 731960

URL: http://svn.apache.org/viewvc?rev=731960&view=rev
Log:
fix for WICKET-2006 now page id's are always session specific so that they never overlap by accident

Modified:
    wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/ISessionSettings.java
    wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/Settings.java

Modified: wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/ISessionSettings.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/ISessionSettings.java?rev=731960&r1=731959&r2=731960&view=diff
==============================================================================
--- wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/ISessionSettings.java (original)
+++ wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/ISessionSettings.java Tue Jan  6 06:44:22 2009
@@ -81,8 +81,8 @@
 	void setPageMapEvictionStrategy(IPageMapEvictionStrategy pageMapEvictionStrategy);
 
 	/**
-	 * Sets whether the id of a page should be unique across the entire session. Default is false,
-	 * which means that a page id is unique per pagemap.
+	 * Sets whether the id of a page should be unique across the entire session. Default is true,
+	 * which means that a page id is unique per session.
 	 * 
 	 * @param value
 	 */

Modified: wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/Settings.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/Settings.java?rev=731960&r1=731959&r2=731960&view=diff
==============================================================================
--- wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/Settings.java (original)
+++ wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/settings/Settings.java Tue Jan  6 06:44:22 2009
@@ -261,7 +261,7 @@
 	 * Whether the generated page id must be unique per session, or it's enough if it is unique per
 	 * page map;
 	 */
-	private boolean pageIdUniquePerSession = false;
+	private boolean pageIdUniquePerSession = true;
 
 	/**
 	 * The time that a request will by default be waiting for the previous request to be handled
@@ -1392,5 +1392,4 @@
 	}
 
 
-
 }