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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to