passing object via REQUEST-object

Jörg Keller joerg_k76 at ___gmx.at
Wed Sep 10 11:01:18 EDT 2003


hi

this is a Zope-related python problem. I hope, this is not too OT!

I use a html-form that calls a python script as it's action. The form 
contains
<input type="hidden" value="<dtml-var "my_folder_object">" name="path">

In the script I can do stuff like

my_path=context.REQUEST.form['path']
print my_path

which returns - as expected - 'folder instance at xxxxxx'


But when I try
print my_path.id

I get an AttributeError 'id'

Any hints?
Regards
Jörg






More information about the Python-list mailing list