Hi Lance, your approach using key/value is the same approach were currently
using, however yours is much better since your using descriptive parameters
rather than just primary keys. 

Although horrible for SEO, we're currently doing the following,
eg www.cardaddy.com/carsearch/1/5/2/10/3/4

I definitely like your approach much better since it seems to be better for
SEO. 

I'm assuming for keyword searches I would just use "keyword" as a key in the
activation context?

Lastly, I'm still up in the air as to whether or not I'm going to use a
pager or use auto expanding results similar to Google's image search or the
Facebook wall, but none the less, I will still have sort parameters. With
that being said, would you just pass any sort/pager parameters in as a
key/value pair too? Example "price-sort/desc".

Now this is separate from the above question, but similar at the same time.
I notice on some websites, you will see on the product description page, the
url parameters contain a pk followed by a descriptive string. The page will
however load with just the pk and not the descriptive string. I'm wondering
if you would just pass the parameters into activation context as a List and
just ignore the descriptive string?

Example www.cardaddy.com/used_car_for_sale/9535542/2012-porsche-911-coupe

If there is better ways to handle activation context than passing a list in,
please advise. 

Example of what we'ere currently doing. 

void onActivate(List<String> parameters) {

}

Thanks everyone. 






--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Query-Parameter-Suggestions-tp5716416p5716432.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to