Am 18.07.2007 um 21:51 schrieb Charlie Clark:

2) how do I pass in values derived specifically for these views? ie. going from
options = {}
options['name'] = charlie
...
return context.mytemplate(**options)

Looks like I've solved that:

return ViewPageTemplateFile('templates/test.pt')(self, **options)

However, seeing as all the examples such as document.py and event.py are different this probably isn't the correct way to proceed...

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to