[Zope] How do I eval a variable within the acquisition path?

Chris Withers chris at simplistix.co.uk
Wed Aug 22 02:41:12 EDT 2007


Tim Nash wrote:
> category = REQUEST.form['category']
> animal = REQUEST.form['animal']
> 
> print context.Vet.category.animal.vaccinateplan()

print context.Vet[category][animal].vaccinateplan()

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list