On Tue, 2 Jan 2007, RJ Herrick wrote:

> Like HTML::Mason::Component::parent ( $m->parent->my_overridden_method()
> ) ?
> I haven't used it but I imagine it does just that.
> See http://www.masonhq.com/docs/manual/Component.html

A components methods are not available as Perl-space methods. You could do 
this:

   % $m->current_comp->parent->call_method('foo');

or

   <& $m->current_comp->parent->path . ':method' &>

These are off-the-cuff, so I may be wrong in the details of the method 
names.


-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

Reply via email to