15 Jan
2002
15 Jan
'02
11 a.m.
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
<dtml-var "myDTML_Method.manage_edit(data, title)"> returns 'None'. It saves content correctly, but why is "None" displayed? And how do I stop it from displaying?
use dtml-call instead of dtml-var
2-fer: What is the syntax to replace myDTML_Method with its id? <dtml-var "id.manage_edit(data, title)"> gives me an AttributeError/class Cachable has no attribute "namemanage_edit". I tested and <dtml-var id> displays the correct value, but how do I call the object via a property using id with manage_edit?
<dtml-var "_[id].manage_edit(data, title)"> regards Max M