Re: [Zope] Decorator pattern

2001-01-17 Thread Chris Withers
> I was thinking that I could change to something > like: > blah > > Then each level would define body_tag_guts as a call to its parent's > body_tag_guts and tack on its stuff... but I don't know how to do that > Try this, if body_tag_guts is a DTML method: cheers, Chris __

[Zope] Decorator pattern

2001-01-17 Thread Tom Jenkins
Hello folks, I have a situation where as I go down my hierarchy I need to modify the tag. Assume this structure: / /level1 /level1/level2 /level1/level2/level3 At level 1 the tag would be like: and at level 2 the tag would have the color setting at level1 plus additional information: and