12 Jun
2001
12 Jun
'01
5:34 p.m.
On 12 Jun 2001 18:15:18 +0200, Peter Bengtsson wrote:
This works: context.dtmldocument.manage_changeProperties(title='New Title')
This does NOT work: context.dtmldocument.manage_changeProperties(data='<dtml-var hello>')
This will make data be: <dtml-var hello> You can't put DTML in a python assignmetn and expect it to be evaluated. If hello is available in the local namespace, you could do: context.document.manage_changeProperties(data=hello) you _may_ need to make it ...(data=hello()) it depends on what hello is/does. Bill