Author: ehillenius
Date: Fri Feb 16 12:33:32 2007
New Revision: 508564
URL: http://svn.apache.org/viewvc?view=rev&rev=508564
Log:
reordered and got rid of unused imports
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletActionRequestCycleProcessor.java
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletApplication.java
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletActionRequestCycleProcessor.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletActionRequestCycleProcessor.java?view=diff&rev=508564&r1=508563&r2=508564
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletActionRequestCycleProcessor.java
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletActionRequestCycleProcessor.java
Fri Feb 16 12:33:32 2007
@@ -16,40 +16,7 @@
*/
package wicket.protocol.http.portlet;
-import javax.servlet.http.HttpServletResponse;
-
-import wicket.AccessStackPageMap;
-import wicket.Application;
-import wicket.Component;
-import wicket.IPageFactory;
-import wicket.IPageMap;
-import wicket.IRedirectListener;
-import wicket.IRequestTarget;
-import wicket.Page;
-import wicket.PageParameters;
import wicket.RequestCycle;
-import wicket.RequestListenerInterface;
-import wicket.RestartResponseAtInterceptPageException;
-import wicket.Session;
-import wicket.WicketRuntimeException;
-import wicket.AccessStackPageMap.Access;
-import wicket.authorization.AuthorizationException;
-import wicket.authorization.UnauthorizedActionException;
-import wicket.markup.MarkupException;
-import wicket.protocol.http.portlet.pages.ExceptionErrorPortletPage;
-import wicket.protocol.http.request.WebErrorCodeResponseTarget;
-import wicket.request.AbstractRequestCycleProcessor;
-import wicket.request.IRequestCodingStrategy;
-import wicket.request.RequestParameters;
-import wicket.request.target.basic.EmptyRequestTarget;
-import wicket.request.target.component.BookmarkablePageRequestTarget;
-import wicket.request.target.component.ExpiredPageClassRequestTarget;
-import wicket.request.target.component.IPageRequestTarget;
-import wicket.request.target.component.PageRequestTarget;
-import wicket.request.target.component.listener.RedirectPageRequestTarget;
-import wicket.request.target.resource.SharedResourceRequestTarget;
-import wicket.settings.IExceptionSettings;
-import wicket.util.string.Strings;
/**
* A RequestCycleProcessor for portlet action requests. The page is not
rendered
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletApplication.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletApplication.java?view=diff&rev=508564&r1=508563&r2=508564
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletApplication.java
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/PortletApplication.java
Fri Feb 16 12:33:32 2007
@@ -33,6 +33,7 @@
import wicket.protocol.http.IRequestLogger;
import wicket.protocol.http.WebRequest;
import wicket.protocol.http.WebRequestCycle;
+import wicket.protocol.http.WebRequestCycleProcessor;
import wicket.protocol.http.WebResponse;
import wicket.protocol.http.WebSession;
import wicket.protocol.http.portlet.pages.AccessDeniedPortletPage;
@@ -330,12 +331,12 @@
return requestCycleProcessor;
}
-
protected ISessionFactory getSessionFactory()
{
return this.sessionFactory;
}
+
/**
* THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT.
*
@@ -408,7 +409,6 @@
}
}
-
/**
* May be replaced by subclasses which whishes to uses there own
* implementation of IRequestCycleProcessor
@@ -420,6 +420,7 @@
return new PortletActionRequestCycleProcessor();
}
+
/**
* May be replaced by subclasses which whishes to uses there own
* implementation of IRequestCycleProcessor
@@ -429,6 +430,17 @@
protected IRequestCycleProcessor newRenderRequestCycleProcessor()
{
return new PortletRenderRequestCycleProcessor();
+ }
+
+ /**
+ * May be replaced by subclasses which whishes to uses there own
+ * implementation of IRequestCycleProcessor
+ *
+ * @return IRequestCycleProcessor
+ */
+ protected IRequestCycleProcessor newRequestCycleProcessor()
+ {
+ return new WebRequestCycleProcessor();
}