You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by zack1403 <za...@gmail.com> on 2009/06/02 02:11:20 UTC

Re: [t5] Contributed master dispatcher not dispatching root url requests

I am using 5.1.0.5.  My class is under the services package in the same place
as my app module. I added a breakpoint in my AuthDispatcher that the app
stops at for every page except the root.  If I go to the start page
(http://localhost/mycontext/start), the breakpoint is called.

I bound the dispatcher as if it were a service to see if that makes a
difference and it shows up as defined on startup but with the same behavior.

Thanks,
Zack


Howard Lewis Ship wrote:
> 
> That looks good to me; the question is where this module class lives
> and is it being loaded?
> 
> I.e. if you created a library to contain this module, that libarie's
> module may not be loaded. Look at the startup output in the console
> (in 5.1) to see which modules are being loaded and check the
> documentation to choose the right way to ensure your module is being
> loaded.
> 
> On Mon, Jun 1, 2009 at 12:09 PM, zack1403 <za...@gmail.com> wrote:
>>
>> hey guys I'm still having this issue.  Am I implementing my dispatcher
>> incorrectly?
>>
>> The code below works for every page but the root url
>> (http://localhost/mycontext/):
>>
>> public void contributeMasterDispatcher(OrderedConfiguration<Dispatcher>
>> configuration) {
>>        configuration.addInstance("AuthDispatcher", AuthDispatcher.class,
>> "before:*");
>>    }
>> --
>> View this message in context:
>> http://www.nabble.com/-t5--Contributed-master-dispatcher-not-dispatching-root-url-requests-tp23734225p23820220.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 
> 
> -- 
> Howard M. Lewis Ship
> 
> Creator of Apache Tapestry
> Director of Open Source Technology at Formos
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-t5--Contributed-master-dispatcher-not-dispatching-root-url-requests-tp23734225p23824440.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org