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.

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.

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

-Vince

On 10/16/07, Glendon Solsberry <[EMAIL PROTECTED]> wrote:
>
> I'm working with Mason to redesign an existing application, and as part of
> that,
> I'm creating several subsections.  I'm trying to use 1 main 'template'
> autohandler[1], and just build from there.  I have a subdirectory, /blog,
> that
> is then sent to it's autohandler[2], and dhandler[3].  The next/previous
> functionality works properly.  The subdirectory /images has it's own
> autohandler[4] and dhandler[5] as well.  Unfortunately, the next/previous
> functionality doesn't work properly...
>
> The basic problem is, when you click on Next, from any of the galleries
> listed,
> it removes everything up to <&SELF:.title&> in [1], causing the output to
> be
> wrong.  Is there anything that I should be looking at to fix that
> problem?  I've
> looked at http://marc.info/?l=mason&m=115093326515236&w=2, and while that
> definitely documents my problem, I already have the version of Mason with
> the
> patch.  My apache config[6] for this host is included as well.
>
> Any help you might be able to give will be greatly appreciated!
>
> [1] http://pastebin.dp.cx/12
> [2] http://pastebin.dp.cx/17
> [3] http://pastebin.dp.cx/18
> [4] http://pastebin.dp.cx/19
> [5] http://pastebin.dp.cx/20
> [6] http://pastebin.dp.cx/21
>
> --
> 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
>
> The first half of our lives is ruined by our parents and the second half
> by our children. --- Clarence Darrow
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHFXKtMcIhsb8MHDMRAmzyAJoDKIwvHwua36MysnB2rsF4TbpwNQCcDQ80
> QxJ0A3OVhyzpb38uzgMAlNM=
> =bJuj
> -----END PGP 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
>
>
-------------------------------------------------------------------------
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