implemented global skin to be rendered after action has been executed

This commit is contained in:
hns 2001-02-20 15:53:48 +00:00
parent ffe720105c
commit fbcfbc32ba

View file

@ -293,6 +293,11 @@ public class RequestEvaluator implements Runnable {
try {
localrtx.timer.beginEvent (requestPath+" execute");
current.doIndirectCall (evaluator, current, action.getFunctionName (), new ESValue[0]);
if (res.mainSkin != null) {
Skin mainSkin = getSkin (null, res.mainSkin);
if (mainSkin != null)
mainSkin.render (this, null, null);
}
localrtx.timer.endEvent (requestPath+" execute");
} catch (RedirectException redirect) {
res.redirect = redirect.getMessage ();