Hi,
In the middle of an <%init> I'm trying to subexec() another component
and send its output instead of the original component's. But I'm having
trouble with the first component's autohandler sending its output:
<%init>
## newcomp's output is nested/mixed to autohandler first run
$m->subexec('newcomp.md', %ARGS);
return;
## using abort I get no output at all
$m->subexec('newcomp.md', %ARGS);
$m->abort;
## however this works fine
$r->internal_redirect('/selector.md?'.$r->args);
$m->auto_send_headers(0);
$m->clear_buffer();
$m->abort;
</%init>
The apache internal_redirect works well, but I'd like to understand how
to use subexec to completely replace original output.
Any idea how I should call subexec in that case?
Thanks,
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users