Re: Dispatcher doesn't get called in default start page

2008-05-19 Thread Hugo Palma
Yep, using "before:RootPath" as a constraint when registering my
Dispatcher did the trick.

Thanks.

Chris Lewis wrote:
> Hi,
>
> This is probably correct. The handling of 'mapping' your app's default
> page is also accomplished by a dispatcher. I /think/ its name is
> 'RootDispatcher' but don't quote me on that - look for details in
> TapestryModule. If you want your dispatcher to fire first you'll need to
> place it :before the root.
>
> chris
>
> Hugo Palma wrote:
>   
>> I've registered a Dispatcher class which works just fine except when the
>> page name is not specified in the URL.
>> So, if i put http://localhost:8080/mycontext/start the Dispatcher is
>> called like expected, but if i access http://localhost:8080/mycontext/
>> although the same start page shows up the Dispatcher isn't executed at all.
>>
>> Is this expected behaviour or maybe a bug ?
>>
>> Thanks.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>   
>> 
>
>   


Re: Dispatcher doesn't get called in default start page

2008-05-19 Thread Chris Lewis
Hi,

This is probably correct. The handling of 'mapping' your app's default
page is also accomplished by a dispatcher. I /think/ its name is
'RootDispatcher' but don't quote me on that - look for details in
TapestryModule. If you want your dispatcher to fire first you'll need to
place it :before the root.

chris

Hugo Palma wrote:
> I've registered a Dispatcher class which works just fine except when the
> page name is not specified in the URL.
> So, if i put http://localhost:8080/mycontext/start the Dispatcher is
> called like expected, but if i access http://localhost:8080/mycontext/
> although the same start page shows up the Dispatcher isn't executed at all.
>
> Is this expected behaviour or maybe a bug ?
>
> Thanks.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   

-- 
http://thegodcode.net


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dispatcher doesn't get called in default start page

2008-05-19 Thread Hugo Palma
I've registered a Dispatcher class which works just fine except when the
page name is not specified in the URL.
So, if i put http://localhost:8080/mycontext/start the Dispatcher is
called like expected, but if i access http://localhost:8080/mycontext/
although the same start page shows up the Dispatcher isn't executed at all.

Is this expected behaviour or maybe a bug ?

Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]