Actually this issue came up when I reported a bug on SELF != current_comp. John Williams wrote at that time:
"The ability to use $m->call_next from a helper component is at least assumed, since we have tests for it. I'm not sure if it is formally documented anywhere, since it is not done very often. It probably never worked correctly in the past. Using call_next from a helper component is tested for in t/11-inherit.t (see the call_next_helper component in there). However the effect on the request component is _not_ tested, since the <& variants &> component is only called from /subdir/autohandler, and not from /subdir/normal. If you add the call to <& variants &> to /subdir/normal, the problem is pretty obvious, since the attributes and methods get invoked all wrong." On 1/18/07, Dave Rolsky <[EMAIL PROTECTED]> wrote: > On Thu, 18 Jan 2007, Mark Elrod wrote: > > > 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... > > And what I said is I don't think it's a bug. Looking at the docs, the API > docs in HTML::Mason::Request _are_ a bit ambiguous. However, they refer > one to HTML::Mason::Devel for details, and there's nothing in there to > make one think this should work as you expect. > > If anything, I think the HTML::Mason::Request docs should be tweaked, not > the code. > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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