printing/echo'ing vars/arrays within mason tags?
Hiram Gibbard <[email protected]> Tue, 16 Aug 2016 10:30:49 -0500
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <CAGTmFdHp02V8bcpUkkD5yymh_2WyDoK+Sxjt9v+fyUukHriZfA@mail.gmail.com> |
--===============7102194111378249845== Content-Type: multipart/alternative; boundary=001a1149a8d0923bf8053a32089c --001a1149a8d0923bf8053a32089c Content-Type: text/plain; charset=UTF-8 Hi All, I'm wondering if there is a way to echo or print our vars or arrays within the Mason tags? I'm trying to trouble shoot this application so I can make enhancements, and I can't tell why pages are not loading. I tried data::dumper, but anytime I try and add anything to print out it just hangs. What do i mean by hang? well the developer used mason within javascript, so when this div tries to load it just sits there saying searching and never completes. So I know its error'ing out, but I can't see it anywhere. So I'm trying to figure out a way to print out some vars or an array so I can see the data. I've tried using the <%text><text> mason tag but i'm either not doing it right or that doesn't apply. I guess my main question would be, how can one get verbose information from data within the mason tags? I will take any tips. can i call the text tag within other tags like init or once? Thanks in advance, -- Hiram Gibbard [email protected] http://hiramgibbard.com --001a1149a8d0923bf8053a32089c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi All,<div><br></div><div>I'm wondering if there is a= way to echo or print our vars or arrays within the Mason tags? I'm try= ing to trouble shoot this application so I can make enhancements, and I can= 't tell why pages are not loading.</div><div><br></div><div>I tried dat= a::dumper, but anytime I try and add anything to print out it just hangs. W= hat do i mean by hang? well the developer used mason within javascript, so = when this div tries to load it just sits there saying searching and never c= ompletes. So I know its error'ing out, but I can't see it anywhere.= So I'm trying to figure out a way to print out some vars or an array s= o I can see the data.</div><div><br></div><div>I've tried using the <= ;%text><text> mason tag but i'm either not doing it right or t= hat doesn't apply. I guess my main question would be, how can one get v= erbose information from data within the mason tags? I will take any tips. c= an i call the text tag within other tags like init or once?</div><div><br><= /div><div>Thanks in advance,<br clear=3D"all"><div><br></div>-- <br><div cl= ass=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"= ><div>Hiram Gibbard<br><a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a></div><div><a href=3D"http://hiramgibbard.com" ta= rget=3D"_blank">http://hiramgibbard.com</a></div><div><br><div style=3D"dis= play:inline"></div></div></div></div> </div></div> --001a1149a8d0923bf8053a32089c-- --===============7102194111378249845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============7102194111378249845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users --===============7102194111378249845==--