Author: knopp
Date: Sun Feb 10 14:05:21 2008
New Revision: 620344
URL: http://svn.apache.org/viewvc?rev=620344&view=rev
Log:
Johan said that's wrong
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java?rev=620344&r1=620343&r2=620344&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
(original)
+++
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycle.java
Sun Feb 10 14:05:21 2008
@@ -40,7 +40,7 @@
* bookmarkable pages as well as non-bookmarkable component interfaces. The
protected handleRender
* method is the internal entrypoint which takes care of the details of
rendering a response to an
* HTTP request.
- *
+ *
* @see RequestCycle
* @author Jonathan Locke
* @author Johan Compagner
@@ -60,7 +60,7 @@
/**
* Constructor which simply passes arguments to superclass for storage
there. This instance will
* be set as the current one for this thread.
- *
+ *
* @param application
* The application
* @param request
@@ -83,7 +83,7 @@
* [EMAIL PROTECTED] #onRuntimeException(Page, RuntimeException)} is
not called unless you deliberately put
* effort in it to make it work.</strong>
* </p>
- *
+ *
* @see org.apache.wicket.RequestCycle#getProcessor()
*/
public IRequestCycleProcessor getProcessor()
@@ -120,7 +120,7 @@
* directly, but work with setResponsePage instead. This method is part
of Wicket's internal
* behavior and should only be used when you want to circumvent the
normal framework behavior
* and issue the redirect directly.
- *
+ *
* @param page
* The page to redirect to
*/
@@ -131,8 +131,7 @@
// Check if use serverside response for client side redirects
IRequestCycleSettings settings =
application.getRequestCycleSettings();
if ((settings.getRenderStrategy() ==
IRequestCycleSettings.REDIRECT_TO_BUFFER) &&
- (application instanceof WebApplication) &&
!(getWebRequest().isAjax()) &&
- (!page.isPageStateless()))
+ (application instanceof WebApplication) &&
!(getWebRequest().isAjax()))
{
// remember the current response
final WebResponse currentResponse = getWebResponse();
@@ -272,7 +271,7 @@
/**
* If it's an ajax request we always redirect.
- *
+ *
* @see org.apache.wicket.RequestCycle#isRedirect()
*/
public final boolean isRedirect()