I have a dynamic form generator that uses request params to generate
fields.
Let's say I have, for example
myReqParam = {
id:1
action:"edit"
}
and would like pylons.url to generate this url:
http://127.0.0.1:5000/controlpanel/formgen?id=1&action=edit
it's a very common situation
If not reserved words like "id" and "action" are used I can issue
h.url(controller="controlpanel", action="formgen", **myReqParams)
but not with a dictionary like the above...
I tried to add a trailing slash like in formalchemy but it's not
stripped.
Any tip?
Thanks for your support
--
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?hl=en.