Author: almaw
Date: Thu Jan 25 14:54:20 2007
New Revision: 500037

URL: http://svn.apache.org/viewvc?view=rev&rev=500037
Log:
Don't touch the page - the RedirectRequestTarget handles that.

Modified:
    
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java

Modified: 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java?view=diff&rev=500037&r1=500036&r2=500037
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
 Thu Jan 25 14:54:20 2007
@@ -39,7 +39,6 @@
 import wicket.Request;
 import wicket.RequestCycle;
 import wicket.RequestListenerInterface;
-import wicket.Session;
 import wicket.WicketRuntimeException;
 import wicket.protocol.http.WebApplication;
 import wicket.request.IRequestCodingStrategy;
@@ -232,10 +231,6 @@
                {
                        Page page = 
((IPageRequestTarget)requestTarget).getPage();
                        requestTarget = new RedirectPageRequestTarget(page);
-                       // Touch the page once because it could be that it did 
go from stateless
-                       // to statefull or it was a internally made page where 
just a url must
-                       // be made for (frames)
-                       Session.get().touch(page);
                }
                 
                // First check to see whether the target is mounted


Reply via email to