Calling Parent Methods
David Wheeler <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I just had to figure out how to call a parent method from a component method. I finally figured out the syntax: $m->base_comp->parent->call_method($meth_name); But that seems unnecessarily verbose, given the shortcuts with SELF. Maybe I missed something? If not, how about a SUPER keyword? <& SUPER:.methname &> Or: <& SELF:SUPER:.methname &> Thoughts? Regards, David ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click