On Wed, 8 Aug 2007, shawn looker wrote:
> I read through it, but its still not working. I think it may be because its
> in the $m->caller_args(1)? Which isn't what is put into <%args>?
Right. Those are passed to the parent component. Your options are:
1. Just use it that way:
$m->caller_args(1)->{promo_message}
2. In the calling component, call the subcomponent passing in %ARGS. But
you'd have to do this for all calls to the component.
Also, you'll find Dumper more useful in this case if you do:
Dumper({ $m->caller_args(1) })
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: [EMAIL PROTECTED] | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users