I'm thinking on integration links form one site to another.
One service has urls like: http://domain/product/?ProductId=123.
Because i dont know will this link format change in future, i dont what
use static links or parameters in html.
I tried map.connect('product',
'http://domain/product/?ProductId=:product_id";) but with http i think
it didnt work. When i put _static=True, i must put ProductId in url_for
function. Because i dont know it will be always ProductId i want alias
or something.

Maybe change this in routes, that map.connect('product',
'http://domain/product/?ProductId=:product_id') will work. And
url_for("product", product_id=123) will generate:
http://domain/product/?ProductId=123.

Is this interesting or not?

Climbus


--~--~---------~--~----~------------~-------~--~----~
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