Newbie : question
Hi, I have a problem with invoking a DTML method.
Search(Directory)
|
|
Catalog(ZCatalog)
updateCatalog(DTML Method)
DTML Method source of updateCatalog:
<dtml-call
"manage_catalogClear(REQUEST,RESPONSE,URL1)">
<dtml-call
"manage_catalogFoundItems(REQUEST,RESPONSE,URL2,URL1,
['Image','File'])">
I would like to invoke updateCatalog from the Search directory from a
form but when I use
<dtml-call
"catalogue.updateCatalog(None,_,'')">
to do this, the next error is generate by Zope:
Error Type: NameError
Error Value: global name 'manage_catalogClear' is not
defined
If I use the next code in the Search directory always in the form,
<dtml-call
"catalogue.manage_catalogClear(REQUEST,RESPONSE,URL1)">
<dtml-call
"catalogue.manage_catalogFoundItems(REQUEST,RESPONSE,URL2,URL1,
['Image','File'])">
Zope say that the global name 'manage_catalogView' is not
defined
If everyone can tell me how to define 'manage_catalogClear'
and manage_catalogFoundItems in Search directory
or how to update a Zcatalog from his parent folder
or how to invoke method (which invoke herself methods)from a
parent directory,
I would be very pleasant.
Greetings, Akh