Correct, there's no desire to support toggling query parameters in
Routes, as Routes is aimed strictly at the path info. If you wanted to
do something like what you're adding right now though, I'd suggest
making a map like this:
map.connect('product', 'product')

Then in your helpers.py, do:
def product_url(product_id):
    return url_for('product', host='domain', ProductId=product_id)

This should let you make URL's in your templates with:
product_url(123)

Which will make: http://domain/product/?ProductId=123

HTH,
Ben


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to