Author: uli Date: Sun Mar 14 20:26:29 2010 New Revision: 922949 URL: http://svn.apache.org/viewvc?rev=922949&view=rev Log: TAP5-1018: Request to Application Root path ignores ComponentRequestFilter's
Modified: tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RootPathDispatcher.java Modified: tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RootPathDispatcher.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RootPathDispatcher.java?rev=922949&r1=922948&r2=922949&view=diff ============================================================================== --- tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RootPathDispatcher.java (original) +++ tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RootPathDispatcher.java Sun Mar 14 20:26:29 2010 @@ -1,4 +1,4 @@ -// Copyright 2007, 2008 The Apache Software Foundation +// Copyright 2007, 2008, 2010 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -32,7 +32,7 @@ public class RootPathDispatcher implemen private final ComponentClassResolver componentClassResolver; - private final PageRenderRequestHandler handler; + private final ComponentRequestHandler handler; private final String startPageName; @@ -40,7 +40,7 @@ public class RootPathDispatcher implemen public RootPathDispatcher(ComponentClassResolver componentClassResolver, - PageRenderRequestHandler handler, + ComponentRequestHandler handler, @Inject @Symbol("tapestry.start-page-name") String startPageName) @@ -58,7 +58,7 @@ public class RootPathDispatcher implemen if (request.getPath().equals("/") && componentClassResolver.isPageName(startPageName)) { - handler.handle(parameters); + handler.handlePageRender(parameters); return true; }