Andres Corrada wrote:
Dave Parker wrote:
IMHO this is a really *bad* problem that should be fixed asap - it has denied me opportunities for some really decent abstraction countless times.
Thank you so much for your detailed explanation of the problem, Dave. I guess I should mention that I got around the problem by putting moving "subfolder/methodA" into the folder of the calling DTML document, thus allowing me to write "<dtml-if "subfolder.methodB()">" within "mainfolder/methodA". As you mentioned, this "pollutes" the "mainfolder" with methods that should really be in "subfolder". Again, thank you for your thoughts on this problem.
My pleasure. I just wish it'd get fixed - it's stopped me cold a dozen times and I've ended up doing some just plain ugly workarounds (sounds like you are now familliar with them ;). Sadly, I just don't have the time (and probably the knowledge ;) to look into it further myself.