6 Aug
2002
6 Aug
'02
8:04 a.m.
Hi Elena,
The attributes passed to a dtml page are:
aDtmlFile(aClass, aDict, **keywordArguments)
when you pass _.None as the object it cannot look up an id, as None has no attributes.
If you are calling it from a Python script you should probably pass::
aDtmlFile(context, REQUEST) That's correct. From DTML an earlier post recommends: <dtml-var "dtmlMethod(_.None,_, keyword_parameters_as_needed)">
Douwe