From: Nic W. <ni...@an...> - 2012-07-15 22:37:11
|
<%shared> sections don't get the <%args> variables but you can use the %ARGS hash or the Apache request object method ->request_args() to get the parameters. It's worked well for me! On 15 Jul 2012, at 6:19 PM, Kamil Niechajewicz wrote: > Putting aside it was more Mason 2.x question, I think <%shared> block introduced all sorts of problems, which made this not so trivial. I think one of them was accessing GET/POST parameters that are usually required to fetch some data. > > At least I remember having lots of problems using method you described, can't recall how it ended but it wasn't as easy as you say unfortunately :/ |