Your initial impression was correct. Regardless of whether you use SELF:, PARENT:, or REQUEST:, Mason will always search upwards in the component's inheritance chain until the method can be found.
See HTML::Mason::Request::_fetch_comp, where this is implemented. Jon On Dec 31, 2007, at 10:18 AM, BP Jonsson wrote: > What's the difference between SELF:method and > REQUEST:method? I thought it would be that the one starts to > search for a <%method method> in base_comp and the other in > request_comp, while they both go on searching up the > component wrapping chain, but people seem to be saying that > REQUEST:method searches only in request_comp and does not go > on upwards in the chain. That wouldn't make it behave just > like an attribute, wouldn't it? > > /BP > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mason-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mason-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

