2005/7/4, Andreas Pakulat <[EMAIL PROTECTED]>:
> On 04.Jul 2005 - 22:53:58, Negroup - wrote:
> > <b tal:content="structure here/REQUEST"></b>
> You do get the object itself when you access REQEUST['obj'], only in
> HTML you get something like the above, as that's what the string
> represenation of obj is. 

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?

Error Type: AttributeError
Error Value: 'str' object has no attribute 'getId'
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to