* No need to rethrow RedirectException from onRequest():

This was introduced in revision 1.65 to fix bug 65, but obsoleted
   in revision 1.99 when the other catch statement was removed.
This commit is contained in:
hns 2006-02-06 11:05:23 +00:00
parent cf875fbf48
commit abf807e0ad

View file

@ -342,15 +342,11 @@ public final class RequestEvaluator implements Runnable {
// try calling onRequest() function on object before
// calling the actual action
try {
scriptingEngine.invoke(currentElement,
"onRequest",
EMPTY_ARGS,
ScriptingEngine.ARGS_WRAP_DEFAULT,
false);
} catch (RedirectException redir) {
throw redir;
}
// reset skin recursion detection counter
skinDepth = 0;