Hello all,
On some requestes I would like to effectively change the requested component mid-stream. Something like this:
<c>
if (my $alt = $user->Redirected) {
$m->?unknown_method?($alt);
} else {
$m->call_next;
}
</c>

Currently, my thoughts are:
I don't want to call redirect, because I want to go through my <%cleanup>, not abort mid-request. I don't want to call subexec, because I don't want to start at the beginning of the request again (specifically, execute the base syshandler). I don't want to call comp, because I want all the autohandler wrapping between here and the component I'm diverting to.

Is this possible? What am I overlooking or misunderstanding?

Thanks,
RJ

"A foolish consistency is the hobgoblin of little minds" -Ralph Waldo Emerson



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to