Re: [Zope-dev] AttributeError validate using the Visitor pattern

2001-02-23 Thread R. David Murray
On Mon, 19 Feb 2001, Itai Tavor wrote: You posted your questions 3 days ago, so maybe you found a solution by now... but this might still be useful to you. I just unwrapped the visitor pattern into an psuedo-case statement grin. - I'm passing _ explicitly instead of relying on binding. I

Re: [Zope-dev] AttributeError validate using the Visitor pattern

2001-02-18 Thread Itai Tavor
Hi David, You posted your questions 3 days ago, so maybe you found a solution by now... but this might still be useful to you. I just implemented a visitor similar to yours, with a few changes. It involves the following objects: Order and OrderLineItem. I created a Folder named