Re: [Zope] aquisition and refining
Alex Burton <burton@w3cast.com> wrote:
Me again (last one for tonight!)
Aquisition is groovy, but is it possible to refine aquired properties instead of redefining them from scratch?
(Creating a standard_html_header in s subfolder and using <dtml-var standard_html_header> does not produce expected result, that is grabbing the upper-level's definition of standard_html_header).
Is there a DTML tag such as <dtml-refine> which, when stated at a given level, would indicate where to insert sublevel redefinition of the DTML method?
Maybe i'm thinking too much of OO inheritance...
"Jonothan Farr" <jfarr@real.com> replied:
You know, I've never really gotten this either. Maybe Jim Fulton could explain for us one more time or else point us at a good explanation of -why- acquisition begins at the root and goes down the tree instead of starting at the current level and going up, which I believe is what pretty much everyone expects it to do when they first run across it.
The slides from Jim Fulton's "Acquisition Algebra" talk are online: http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/index.html I know the title is intimidating, but I think the talk was "satori-making". Tres. -- ========================================================= Tres Seaver tseaver@palladion.com 713-523-6582 Palladion Software http://www.palladion.com
The slides from Jim Fulton's "Acquisition Algebra" talk are online:
http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/index.html
Nevermind. I guess acquisition does work like I expect it to. Boy do I feel silly. =) Thanks for the pointer. -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
participants (2)
-
Jonothan Farr -
Tres Seaver