[Zope] aquisition and refining

J C Lawrence claw@kanga.nu
Tue, 22 Feb 2000 19:12:03 -0800


On Tue, 22 Feb 2000 21:47:17 -0500 
Alex Burton <burton@w3cast.com> wrote:

>   Aquisition is groovy, but is it possible to refine aquired
> properties instead of redefining them from scratch?

Yes, You can use PARENT[x] to grab the appropriate "higher version".

>   (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).

Something along the line of:

  <dtml-var "PARENTS[-1}.standard_html-header>

should work

-- 
J C Lawrence                                 Home: claw@kanga.nu
----------(*)                              Other: coder@kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--