I'm attempting to pass multiple variables via the url string.  field1 &
field2 are form variables to be passed on a redirect.  

    field1 = 'foo'
    field2 = 'bar'

For the command below, I do not get a python syntax error unless I remove
the "+" symbols: 


Executing the command returns the following error:

    "unsupported operand type(s) for &: 'str' and 'str'"

The "&"symbol from all my research should separate the variables.  Does Zope
use some other symbol?

I can successfully pass either field1 or field2 using the same command with
only one variable:

    return container.absolute_url()+'/my-documents/?field1='+field1

Thanks... Jim
View this message in context: 
Sent from the Zope - DB mailing list archive at Nabble.com.

Zope-DB mailing list

Reply via email to