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 . > - I'm passing _ explicitly instead of relying on binding. I vagu

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 'displayItemVi

[Zope-dev] AttributeError validate using the Visitor pattern

2001-02-16 Thread R. David Murray
OK, having helped me figure out how to work around the bug in accessing ZPatterns objects from a catalog, I've got a new challenge for you all. Now that I've got my list of objects, I want to generate a web page displaying them. The page has the structure of a series of table rows. Inside each