click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r958261 - /click/trunk/click/mock/src/org/apache/click/MockContainer.java
Date Sat, 26 Jun 2010 18:01:18 GMT
Author: sabob
Date: Sat Jun 26 18:01:18 2010
New Revision: 958261

URL: http://svn.apache.org/viewvc?rev=958261&view=rev
Log:
lookup servlet through getter

Modified:
    click/trunk/click/mock/src/org/apache/click/MockContainer.java

Modified: click/trunk/click/mock/src/org/apache/click/MockContainer.java
URL: http://svn.apache.org/viewvc/click/trunk/click/mock/src/org/apache/click/MockContainer.java?rev=958261&r1=958260&r2=958261&view=diff
==============================================================================
--- click/trunk/click/mock/src/org/apache/click/MockContainer.java (original)
+++ click/trunk/click/mock/src/org/apache/click/MockContainer.java Sat Jun 26 18:01:18 2010
@@ -470,7 +470,7 @@ public class MockContainer {
             // Cleanup any Context instances still referenced on stack.
             clearContextStack();
             getResponse().reset();
-            String servletPath = clickServlet.getConfigService().getPagePath(pageClass);
+            String servletPath = getClickServlet().getConfigService().getPagePath(pageClass);
             if (servletPath == null) {
                 throw new IllegalArgumentException("The class " + pageClass.getName()
                     + " was not mapped by Click and does not have a"



Mime
View raw message