4 Jul
2005
4 Jul
'05
9:37 p.m.
2005/7/4, Andreas Pakulat <apaku@gmx.de>:
On 04.Jul 2005 - 22:53:58, Negroup - wrote: [cut]
<b tal:content="structure here/REQUEST"></b> [cut] 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'