Hi Jon,
Am 18.06.2011 um 14:23 schrieb Jonathan Swartz:
> If you just want to avoid wrapping, this is probably better:
>
> <%method render>
> % $.main();
> </%method>
>
> You'll still inherit from the default parent class, so you can share methods,
> attributes, etc. - it's just that render will call main() instead of wrap().
>
> I have an item in my todo list that says "make this easier" :), since it is
> such a common desire. Suggestions welcome.
what I often need is to disable wrapping if a parameter is set. For example in
Catalyst, I can check if a request is an AJAX request, and if it is, I'd like
the header and footer to not be rendered but only the component itself. How
can I do this?
Matthias
--
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
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users