[Zope-dev] Access to member functions of a product

Fabio Augusto Mazzarino mazza@radiumsystems.com.br
Thu, 4 May 2000 13:15:39 -0300


 Hi folks:

 I have a problem here. I need to access an internal method of class inside
a product, but I couldn't do it until now.
 I supposed that this would be pretty easy, even trivial, but it doesn't
seems to be so. (maybe it's a lammer question).
 Well, I have a class definition inside a product, it's like this
    class DotShop(Folder, RoleManager, Aquisition.Implicit, Persistent):
        meta_type = 'DotShop'

        def __init__(self, id, title, dbName):
            (...)

        def createClientTable(self):
                (...)


 I need to access createClientTable from a dtml method, but i cant do it.
 I tried to use this url:
 http://myserver:8080/folder/shop/createClientTable
 But it returns an error, telling me that this document doesn't exists.

 What can I do?

 Thanx for your help.

 Fabio Augusto Mazzarino - mazza@radiumsystems.com.br