Help! Cascade initialization and acquisition
Hi, I guess this is a well-known problem and must have a well-known answer. I have subfolders inside folders and sub-subfolders inside subfolders, etc. I would like to store some initialization actions in a method called init_dtml inside some of these folders. (Much like constructors.) Now, when a user visit the sub-sub-...-subfolder, before displaying the index_html, I would like to invoke these init_dtml methods from the top of the folders down to the sub-sub-...-subfolder. All this is much like the cascade constructors in object-oriented programming languages: you invoke the base class constructor before the subclass constructor. The big question is: how do I do this? I have cracked my head without reaching a simple solution. Sometimes acquistion is just too evil. :) (Note that some of the folders may not have init_dtml.) regards, Hung Jung ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
participants (1)
-
Hung Jung Lu