5 Jul
2005
5 Jul
'05
4:15 a.m.
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