Hi Jon,
when I use the following code snippet within the upper-most Base.mc, $.wrap()
seems to call the template directly instead of going through the rest of
Base.mc and calling the template there through inner(). Is this intended? If
yes, is there a possibility to skip rendering Base.mc only when certain
conditions are true?
Best,
Matthias
Code Snippet, used within Catalyst:
<%class>
method render {
if ($c->req->is_xhr) {
$.main(); # skip wrapping
} else {
$.wrap(); # do wrapping
}
}
</%class>
--
rainboxx Software Engineering
Matthias Dietrich
rainboxx Matthias Dietrich | Phone: +49 7141 / 2 39 14 71
Königsallee 43 | Fax : +49 3222 / 1 47 63 00
71638 Ludwigsburg | Mobil: +49 151 / 50 60 78 64
| WWW : http://www.rainboxx.de
CPAN: http://search.cpan.org/~mdietrich/
XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users