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
===================================================*/

-------------------------------------------------------------------------
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

Reply via email to