On Fri, Oct 19, 2007 at 01:18:04PM -0400, Vince Veselosky said:
> I'm sorry I don't have "the solution," but in answer to your query of where
> you should be looking, here's what I have observed.
> 
> The SELF: moniker is how mason dispatches methods with component
> inheritance. Mason constructs a call-chain, and the thing at the end of the
> call-chain is where SELF should start looking for methods to dispatch.
> However, I have noticed that Mason doesn't DWIM if you use $m->call_next
> from a component that is not part of the call-chain, such as an included
> body.mhtml component.

Is there any way to see that call-chain?

> As a result, I have developed a rule of thumb that I should never call
> $m->call_next from a component that is not an autohandler, because in that
> case Mason's idea of "SELF" and my idea don't always match.

My $m->call_next *is* being called from the autohandler.

> I don't know if that is useful information for your situation, but I hope it
> helps.
> 
> -Vince

The biggest problem that I'm having, is that the output works correctly on the
first page (/), and on a subfolder (/Camera Import).  When I hit an offset page
(/offset/1 or /Camera Import/offset/1), the problem arises.  I'm just trying to
debug what's actually happening, so that I can try to put things in the right
places.

Thanks again!

-- 
Glen Solsberry
 Please note that all messages are signed by my GPG key (0xBF0C1C33).
 If you received a message from me that wasn't signed, it probably wasn't from 
me.
 IRC at irc.aknarra.net:6667 #lobby
 http://www.dp.cx

 Felix velut porcus in sterco

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to