tiles-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r939055 - /tiles/sandbox/trunk/tiles3/tiles-test-pom/tiles-test/src/main/java/org/apache/tiles/test/portlet/TestPortlet.java
Date Wed, 28 Apr 2010 19:16:04 GMT
Author: apetrelli
Date: Wed Apr 28 19:16:04 2010
New Revision: 939055

URL: http://svn.apache.org/viewvc?rev=939055&view=rev
Log:
TILESSB-31
Refactored portlet support.

Modified:
    tiles/sandbox/trunk/tiles3/tiles-test-pom/tiles-test/src/main/java/org/apache/tiles/test/portlet/TestPortlet.java

Modified: tiles/sandbox/trunk/tiles3/tiles-test-pom/tiles-test/src/main/java/org/apache/tiles/test/portlet/TestPortlet.java
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles3/tiles-test-pom/tiles-test/src/main/java/org/apache/tiles/test/portlet/TestPortlet.java?rev=939055&r1=939054&r2=939055&view=diff
==============================================================================
--- tiles/sandbox/trunk/tiles3/tiles-test-pom/tiles-test/src/main/java/org/apache/tiles/test/portlet/TestPortlet.java
(original)
+++ tiles/sandbox/trunk/tiles3/tiles-test-pom/tiles-test/src/main/java/org/apache/tiles/test/portlet/TestPortlet.java
Wed Apr 28 19:16:04 2010
@@ -38,7 +38,7 @@ import javax.portlet.RenderResponse;
 import org.apache.tiles.TilesContainer;
 import org.apache.tiles.access.TilesAccess;
 import org.apache.tiles.request.Request;
-import org.apache.tiles.request.portlet.PortletRequest;
+import org.apache.tiles.request.portlet.RenderPortletRequest;
 
 /**
  * Test Portlet.
@@ -57,7 +57,7 @@ public class TestPortlet extends Generic
             portletSession.removeAttribute("definition");
             TilesContainer container = getCurrentContainer(request,
                     getPortletContext());
-            Request currentRequest = new PortletRequest(container
+            Request currentRequest = new RenderPortletRequest(container
                     .getApplicationContext(), getPortletContext(), request,
                     response);
             if (container.isValidDefinition(definition, currentRequest)) {



Mime
View raw message