It would be nice if a component could do this. If mason does this,
already...back to the drawing board :)

as we know components in mason have their own lexical scope which is fine
but it would be easier if I could pass the %args hash as a lexical argument
from one component to the next without have the elements of the %args hash
that I am using removed from that hash.

Example:


<%args>
$thing1
$thing2
$thing3
$thing4
$thing5
</%args>

%# some code here

<& subthing, %ARGS &><%doc>All the things are gone from %ARGS. Only What I'm
not using is passed.</%doc>

<%def subthing>
<%args>
$thing1
$thing2
$thing3
$thing4
$thing5
</%args>

%# do something with the args, not altering them or returning data maybe
some formatting or something.

</%def>

%# this way when I call subthing I don't have to do all the typing to
redefine %args.. over and over and over again.

Attachment: smime.p7s
Description: S/MIME cryptographic signature





**********************************************************

MLB.com: Where Baseball is Always On
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to