On Mon, Mar 9, 2009 at 7:27 PM, Hans Dieter Pearcey <hdp.perl.mason.us...@weftsoar.net> wrote: > On Mon, Mar 09, 2009 at 07:15:09PM +0000, Jérôme Etévé wrote: >> I'm wondering if it's possible to implement inheritance when a >> component rendering is triggered by an inclusion, and not by an http >> request. > > http://search.cpan.org/~drolsky/HTML-Mason-1.40/lib/HTML/Mason/Devel.pod#Subrequests
Yeah I saw that, but I'd like to be able to call one of the component's method like I can do with inclusion: <& /foo.mas:methodbar &> For the moment, I did a hack in the super component (triggered by a special arg of the subrequest) , but this situation is not ideal. Cheers. J ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users