-----Original Message----- From: Andreas Jung [mailto:andreas@andreas-jung.com] Sent: donderdag 10 april 2003 18:13 To: Daniël Hooymans; zope@zope.org Subject: Re: [Zope] STX in pagetemplates
... tal:content="structure python: modules['Products.PythonScripts.standard'].structured_text(get attr(here, stx_file))"
-aj
Hi, When i try this i get the following error: Error Type: NameError Error Value: global name 'stx_file' is not defined However i did make a "DTML Method" (or should this be another type) called stx_file. After changing to : tal:content="structure python:modules['Products.PythonScripts.standard'].structured_text(getattr(here, here.stx_file))" i got another error: Error Type: AttributeError Error Value: __getslice__ Any ideas ?? Greets, Daniel