The module below works using the python compiler
class Testclass:
    def setdata(self,val1,val2,val3): = [val1,val2,val3]
    def updatedata(self, index):[index] =[index]+1
    def display(self):
x = Testclass() 
def createdata():
    import __main__
    __main__.x.setdata(10, 20, 30)


However if I try to add it as an External Method( id= createdata) it
seem to work. I've tried to call it using <dtml-var/call createdata>
without success. Any suggestions what I do wrong.
I am grateful for all comments,


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to