Re: HybridUrlCodingStrategy with trailing slash...

2008-01-14 Thread Igor Vaynberg
needs a check in the constructor of the strategy that throws
illegalargumentexception, please open a jira

-igor


On Jan 14, 2008 12:43 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> Hello-
>
> I ran into a hickup with HybridUrlCodingStrategy and just want to run it
> by you all.
>
> It looks like mounting a page with a trailing '/' causes things to get
> redirected to a page it cant find:
>   mount( new HybridUrlCodingStrategy( "/aaa/", Index.class) );
>   mount( new HybridUrlCodingStrategy( "aaa/", Index.class) );
>
> These paths work fine for BookmarkablePageRequestTargetUrlCodingStrategy.
>
> I don't know if its a bug or just needs an added note in the javadoc
>
>
> Thanks
> ryan
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



HybridUrlCodingStrategy with trailing slash...

2008-01-14 Thread Ryan McKinley

Hello-

I ran into a hickup with HybridUrlCodingStrategy and just want to run it 
by you all.


It looks like mounting a page with a trailing '/' causes things to get 
redirected to a page it cant find:

 mount( new HybridUrlCodingStrategy( "/aaa/", Index.class) );
 mount( new HybridUrlCodingStrategy( "aaa/", Index.class) );

These paths work fine for BookmarkablePageRequestTargetUrlCodingStrategy.

I don't know if its a bug or just needs an added note in the javadoc


Thanks
ryan

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