[Zope] Pass objects from template to template via HTML forms.

Konstantin E. Steuck phoenix_12 at ngs.ru
Tue Jul 5 00:15:01 EDT 2005


Negroup - wrote:
> Why then, if template b is:
> <b tal:define="obj python:here.REQUEST['obj'].getId()"></b>
> (or <b tal:define="obj python:here.REQUEST.form['obj'].getId()"></b>)
> 
> zope gives this error?

Because REQUEST.form['obj'] is already a string representation of then 
object, not object itself, hence it has not method getId()
Try looking into copy/cut/paste machinery, it seems to be what you're 
looking for


More information about the Zope mailing list