>Is there a way to switch off content wrapping at runtime ? 

Why not just request the component you want from the top level autohandler?

<%init>

 if ($is_ajax){
        # parse JSON however you like. I read from body and then convert to
a hash
        return $m->comp( $m->request_comp, %ARGS, %$json );
        }

</%init>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to