Skip to content Skip to sidebar Skip to footer

Python: Obtain A Url

Because I cant get this working: Python: KeyError with form.getfirst I have an alternative option, I have a function in DTML which needs to obtain a URL: For example if the dtml we

Solution 1:

for: http://www.blah.com/foo/foo2?job_ID=55555&test=1

<dtml-var URL> = http://www.blah.com/foo/foo2

<dtml-var QUERY_STRING> = job_ID=55555&test=1

<dtml-var "REQUEST['job_ID']"> = 55555

See: http://wiki.zope.org/zope2/REQUESTX

Post a Comment for "Python: Obtain A Url"