On 09 Mar 2001 11:27:50 +1300, Danny William Adair wrote:
Hello to everybody!
Supposed I have an object hierarchy looking like this:
the_root------A-----Aa ---Ab(image) ------B-----Ba ---Bb------Bba ---Bbb(DTML document)
A DTML document "Bbb" lying in folder Bb wants to access the image in Folder Ab. The only way I know how to do this is
<dtml-with Bb> <dtml-with B> <dtml-with the_root> <dtml-with A> <dtml-var Ab> (or do whatever with it) </dtml-with> </dtml-with> </dtml-with> </dtml-with>
Of course this sucks.
Have you tried this? (untested): <dtml-with A> <dtml-var Ab> </dtml-with> Seems to me it should work. seems to me I've done this before somewhere ... But I could be wrong. :^). Bill Anderson