[Zope] dtml Zwikiki
David Kyte
david.kyte@microamps.com
Fri, 5 Oct 2001 12:11:30 +0100
Hi,
I want to add a ZWiki page via dtml.
I tried using:
<dtml-call "manage_addZWikiPage( id='Fred', title='Fred')">
but get an invalid parameter error
<!--
Traceback (innermost last):
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 222, in
publish_module
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 187, in
publish
File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 171, in
publish
File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160, in
mapply
(Object: Test)
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 112, in
call_object
(Object: Test)
File /usr/share/zope/lib/python/OFS/DTMLMethod.py, line 189, in __call__
(Object: Test)
File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py, line
550, in __call__
(Object: Test)
File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Util.py, line
334, in eval
(Object: manage_addZWikiPage( id='Fred', title='Fred'))
(Info: manage_addZWikiPage)
File <string>, line 0, in ?
NameError: (see above)
-->
Yes Zwikis are working fine
Zwiki version 0-9-4
Zope version 2.3.0
Thanks in advance
Dave