Author: jcompagner
Date: Fri Apr 13 03:21:58 2007
New Revision: 528427
URL: http://svn.apache.org/viewvc?view=rev&rev=528427
Log:
made session private because you have to go through getSession now
Modified:
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
Modified:
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java?view=diff&rev=528427&r1=528426&r2=528427
==============================================================================
---
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java
(original)
+++
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java
Fri Apr 13 03:21:58 2007
@@ -268,7 +268,7 @@
protected Response response;
/** The session object. */
- protected Session session;
+ private Session session;
/**
* Constructor. This instance will be set as the current one for this
Modified:
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java?view=diff&rev=528427&r1=528426&r2=528427
==============================================================================
---
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
(original)
+++
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
Fri Apr 13 03:21:58 2007
@@ -112,7 +112,7 @@
*/
public WebSession getWebSession()
{
- return (WebSession)session;
+ return (WebSession)getSession();
}
/**
@@ -221,7 +221,7 @@
// Always touch the page again so that a redirect listener
makes a page
// statefull and adds it to the pagemap
- session.touch(page);
+ getSession().touch(page);
// Redirect to the url for the page
response.redirect(redirectUrl);