RE: Pretty DataView urls
I'd prefer not to because I like the advantage being able to bookmark page 5 gives you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Carman Sent: Monday, March 17, 2008 11:13 AM To: users@wicket.apache.org Subject: Re: Pretty DataView urls Can you use the Ajax version? On 3/17/08, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7 - 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]
RE: Pretty DataView urls
I'm already mounting the page that the DataView is on. Everything but the first page still gets that interface listener url. Why would HybridUrlCodingStrategy make it any different? -Original Message- From: Matej Knopp [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 11:12 AM To: users@wicket.apache.org Subject: Re: Pretty DataView urls You can mount your page using HybridUrlCodingStrateg. The resulting url won't carry the currently selected page information, but it will be much nicer than a interface listener url you are having now. -Matej On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7 -- Resizable and reorderable grid components. http://www.inmethod.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]
Pretty DataView urls
Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7
Re: Pretty DataView urls
You can mount your page using HybridUrlCodingStrateg. The resulting url won't carry the currently selected page information, but it will be much nicer than a interface listener url you are having now. -Matej On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7 -- Resizable and reorderable grid components. http://www.inmethod.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pretty DataView urls
Can you use the Ajax version? On 3/17/08, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pretty DataView urls
the following works for me: // in your callback method PageParameters params = new PageParameters(); params.put(page, getPageNumber()); setResponsePage(MyPage.class, params); setRedirect(true); where MyPage.class would typically be the same page the component is on. to make it more generic, you could use getPage().getClass(). Gerolf On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7
Re: Pretty DataView urls
Creating new page version every time... -Matej On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: the following works for me: // in your callback method PageParameters params = new PageParameters(); params.put(page, getPageNumber()); setResponsePage(MyPage.class, params); setRedirect(true); where MyPage.class would typically be the same page the component is on. to make it more generic, you could use getPage().getClass(). Gerolf On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7 -- Resizable and reorderable grid components. http://www.inmethod.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pretty DataView urls
yes, unfortunately, one would have to live with that. should've mentioned that ;) On Mon, Mar 17, 2008 at 7:30 PM, Matej Knopp [EMAIL PROTECTED] wrote: Creating new page version every time... -Matej On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: the following works for me: // in your callback method PageParameters params = new PageParameters(); params.put(page, getPageNumber()); setResponsePage(MyPage.class, params); setRedirect(true); where MyPage.class would typically be the same page the component is on. to make it more generic, you could use getPage().getClass(). Gerolf On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan [EMAIL PROTECTED] wrote: Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1or something. I'd prefer it to say something like /home?page=7 -- Resizable and reorderable grid components. http://www.inmethod.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]