[Zope] manage_addDTMLMethod vs. manage_addZSQLMethod
Hannu Krosing
hannu@tm.ee
Fri, 18 Aug 2000 02:51:50 +0300
Why does this work
<dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method
Title','method text')">
While this does not:
<dtml-call "_['testadd'].manage_addZSQLMethod('DB', 'DB',
'DB','DB','DB')">
(the database connection DB is there)
I studies the Znolk product and found that it uses _setObject directly
instead of
manage_addZSQLMethod .
Should I just wrap _setObject into an external method (to make it
visible) and start using
it or is there a simpler way ?
-------------
Hannu