URL coding strategies

2010-12-16 Thread Henrique Boregio
Hello, I am mounting my URLs so I can list product items like so: http://www.mysite.com/item/id/0 http://www.mysite.com/item/id/1 and so on...then I user this id param to fetch the data from the database. I am not accesing this page directly. I have another page where the items are fully listed

Re: URL coding strategies

2010-12-16 Thread Andrea Del Bene
Hi Henrique, are you using a custom WebRequestCodingStrategy implementation? This class should let you encode visible URL as you prefer. Hello, I am mounting my URLs so I can list product items like so: http://www.mysite.com/item/id/0 http://www.mysite.com/item/id/1 and so on...then I user

Re: URL coding strategies

2010-12-16 Thread Bas Gooren
directly? That way the only contextual information you have is what is in the url. Good luck. Bas - Original Message - From: Henrique Boregio hbore...@gmail.com To: users@wicket.apache.org Sent: Thursday, December 16, 2010 4:05 PM Subject: URL coding strategies Hello, I am mounting my

Re: URL coding strategies

2010-12-16 Thread Henrique Boregio
Hey Bas, you're right, I hadn't thought of it that way. In option 1, how would I go about using a unique textual identifier? Say there are 2 items with the name Ford Ranger Model 2005 but each one is posted by different users, the URL would still be:

Re: URL coding strategies

2010-12-16 Thread Bas Gooren
information in the identifier. Bas - Original Message - From: Henrique Boregio hbore...@gmail.com To: users@wicket.apache.org Sent: Thursday, December 16, 2010 6:06 PM Subject: Re: URL coding strategies Hey Bas, you're right, I hadn't thought of it that way. In option 1, how would I go

Re: URL coding strategies

2010-03-18 Thread bgooren
is that you only query the database once for the product, but the url is not seo-friendly. vp143 wrote: Hi there, I have a question about URL coding strategies I have decided to use IndexedParamUrlCodingStrategy for friendly URL's. I have set PageParameters for this strategy

URL coding strategies

2010-03-17 Thread Vishal Popat
Hi there, I have a question about URL coding strategies I have decided to use IndexedParamUrlCodingStrategy for friendly URL's. I have set PageParameters for this strategy in the following way: PageParameters pageParameters = new PageParameters