Thx Dave. I knew about $m->request_comp, but that's not exactly the point. What i would need is to call something like childs() on $m->request_comp, because what i need to find out is which components are included in/called from the requested component from the perspective of the autohandler. Is there a way to do this? I don't know what this "object_cache" section, of the result of callers stands for, but the information i need seems to be somewhere in there...
On Tue, 17 Oct 2006, jfdj schn wrote: > If I call $m->callers in "autohandler" i get autohandler and > sonstiges.mhtml, but i do not see xy.mas and xyz.mas. I dumped the whole > object i get if i call $m->callers, and there i can see xy.mas and > xyz.mas in the "object_cache" section, but i can't access them in a > proper way. First, there are some bugs with callers in 1.34, but I don't think that's your problem. callers() shows you the current call stack. If you haven't called a component yet, it's not on the stack. If you want to know what component an autohandler is handling for, you can use $m->request_comp. You could then use parent() on the returned component object to recursively figure out the autohandler chain it uses. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ -- GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist! NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users