[Zope] indirection question

Jeremy M. Smith jeremy@whatever.ucdavis.edu
Thu, 31 Jan 2002 09:24:16 -0800 (PST)


Thanks very much for the tip . . . you put me on the right track. 
_.getitem(form,0) still gave an AttributeError: __hash__, but using 
_.getitem('form',0) works beautifully! 

Thanks again,

Jeremy.

On Thu, 31 Jan 2002, Oleg Broytmann wrote:

> On Wed, Jan 30, 2002 at 03:44:51PM -0800, Jeremy M. Smith wrote:
> > <dtml-var "_[form].header()">
> 
>    DTML Magic! _[form] is a string (rendered form). Use getitem(form, 0). 0
> prevents rendering - you get the real object.
> 
> Oleg.
> 

-- 
--------------------------------------------
Jeremy M. Smith <jeremy@ucdavis.edu>
Technical Support Manager, Programmer
University of California, Davis
Languages and Literatures
Language Learning Center