Re: IndexedParamUrlCodingStrategy behaves strangely when there is no parameter in the URL
Done: https://issues.apache.org/jira/browse/WICKET-1092 Thanks for your help. Ludovic -- View this message in context: http://www.nabble.com/IndexedParamUrlCodingStrategy-behaves-strangely-when-there-is-no-parameter-in-the-URL-tf4666083.html#a13331634 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IndexedParamUrlCodingStrategy behaves strangely when there is no parameter in the URL
please open a bug -igor On 10/21/07, Ludovic Orban <[EMAIL PROTECTED]> wrote: > > Hi, > > I've mounted a page like this: > mount(new IndexedParamUrlCodingStrategy("/page", MyPage.class)); > > MyPage class has a contructor which accepts PageParameters. > > When I try to access the page with any of these URLs: > http://myserver/page/ > or > http://myserver/page > > the PageParameters contains a single parameter "0" / "" which is incorrect > in my opinion. > > Surprisingly, when I try: > http://myserver/page// > or > http://myserver/page/// > > then the PageParameters is empty. > > I doubt this is expected but am I wrong ? > > Thanks. > Ludovic > -- > View this message in context: > http://www.nabble.com/IndexedParamUrlCodingStrategy-behaves-strangely-when-there-is-no-parameter-in-the-URL-tf4666083.html#a13329065 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > 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]
IndexedParamUrlCodingStrategy behaves strangely when there is no parameter in the URL
Hi, I've mounted a page like this: mount(new IndexedParamUrlCodingStrategy("/page", MyPage.class)); MyPage class has a contructor which accepts PageParameters. When I try to access the page with any of these URLs: http://myserver/page/ or http://myserver/page the PageParameters contains a single parameter "0" / "" which is incorrect in my opinion. Surprisingly, when I try: http://myserver/page// or http://myserver/page/// then the PageParameters is empty. I doubt this is expected but am I wrong ? Thanks. Ludovic -- View this message in context: http://www.nabble.com/IndexedParamUrlCodingStrategy-behaves-strangely-when-there-is-no-parameter-in-the-URL-tf4666083.html#a13329065 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]