Because there is logic inside of body.html that conditionally wraps
the content in index.html depending on various conditions. You are
supposed to be able to put the call to next inside an include so this
is a bug... I am just reporting it...

elrod

On 1/18/07, Oliver Jeeves <[EMAIL PROTECTED]> wrote:
> Mark Elrod wrote:
> > Why shouldn't it work? If I access index.html?foo=bar I would expect
> > the index.html page to receive the foo argument. Just because there is
> > an autohandler that takes care of the header and footer and sidebar
> > for the page does not mean that the args should not be passed along.
> >
> > elrod
>
> Why not just re-factor your autohandler (and body) to look like this:
>
> <&| /include/body.html &>
> % $m->call_next;
> </&>
>
> That way, the call to the next component is still done from the
> autohandler, and the content is passed to your body component to do what
> it likes with.
>
> -Oli
>
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to