Re: Setting page title and other meta-data in wrapper using Mason 2.0
Nic Wolff <[email protected]> Sun, 15 Jul 2012 18:36:59 -0400
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <[email protected]> |
<%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 :/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/