Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread pixologe
no. having a nice/bookmarkble url means having all the state in the url. hmmm i'm not sure... sometimes i'd like to have a pretty url, even if it does not hold the exact state of the page... in my example: the re-sorted list of friends would be still bookmarkable, however the sorting would be

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Martijn Dashorst
mount your page with hybridurlcodingstrategy Martijn On Wed, Aug 13, 2008 at 9:38 AM, pixologe [EMAIL PROTECTED] wrote: no. having a nice/bookmarkble url means having all the state in the url. hmmm i'm not sure... sometimes i'd like to have a pretty url, even if it does not hold the exact

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread pixologe
Martijn Dashorst wrote: mount your page with hybridurlcodingstrategy thanks for pointing this out... i've seen this one before, but somehow completely misunderstood how it is supposed to work :-/ still, it is not exactly what i had in mind, since it attaches a version number to every url

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Erik van Oosten
Hi, You can suppress the version number in the URL. Doing so will make the encoder always take the last version of the page (or create a new one when it is not present). More details: http://www.nabble.com/More-on-wicket-url-stratergy-td18212748.html#a18273996 Regards, Erik. pixologe

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Igor Vaynberg
On Wed, Aug 13, 2008 at 12:38 AM, pixologe [EMAIL PROTECTED] wrote: but still I would be even happier with wicket if there was a hybrid solution which enabled a page to hold state beyond its pretty URL params you are more then welcome to create one and share it with the rest of us. -igor

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Matej Knopp
On Wed, Aug 13, 2008 at 5:01 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 12:38 AM, pixologe [EMAIL PROTECTED] wrote: but still I would be even happier with wicket if there was a hybrid solution which enabled a page to hold state beyond its pretty URL params There will be

Pretty URLs depending on a Page's state (not params)

2008-08-12 Thread pixologe
Hi everybody, AFAIK it is not possible to have a variable nice URL for a page without using PageParameters, right? If I am right: shouldn't it be possible? Perhaps I'm missing the point or not knowing the internals good enough (probably both ;-), but what I imagine is to map parts of the URL

Re: Pretty URLs depending on a Page's state (not params)

2008-08-12 Thread Igor Vaynberg
On Tue, Aug 12, 2008 at 10:39 PM, pixologe [EMAIL PROTECTED] wrote: Hi everybody, AFAIK it is not possible to have a variable nice URL for a page without using PageParameters, right? If I am right: shouldn't it be possible? no. having a nice/bookmarkble url means having all the state in