Calling methods on products
7 Oct
2003
7 Oct
'03
10 p.m.
Help! I have a Zcatalog in which I can add actors successfully. I can also add a product for serving sequential tokens. My intent is to use the tokens to id the actors in the actor constructor. My problem is that I don't know how to get the constructor to call the getToken() method on the token generator. I thought container.generator.getToken() should do it but I get a keyError saying non-existent 'generator.getToken'. The generator is subclassed from SimpleItem and also Acquisition.Implicit. Can someone tell me where I'm going wrong? TIA Richard Jennings
8217
Age (days ago)
8217
Last active (days ago)
0 comments
1 participants
participants (1)
-
Richard Jennings