> I want to get the value for a given argument from within my component,
> is there a global %ARGS hash?
>
> When I try <% $ARGS{'first_name'} %> it is empty.
>
> this is assuming http://bar.com/foo.html?first_name=foobar

Your foo.html component will have access to %ARGS.   You can also use an 
<%args> block to name the argument.  More information here: 
http://www.masonhq.com/docs/manual/Devel.html#accessing_parameters

If foo.html is calling another component and you want it to have access 
to the arguments, then you will need to grab them from $m->request_args

Regards,
Bradley C Bailey

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to