protected boolean executeParameterActions(HttpServletRequest request, HttpServletResponse response, JPublishContext context, String path, boolean allowRedirect) throws Exception {
if (!siteContext.isParameterActionsEnabled()) {
return false;
}
ActionManager actionManager = siteContext.getActionManager();
String[] actionNames = request.getParameterValues(siteContext.getActionIdentifier());
if (actionNames != null) {
for (int i = 0; i < actionNames.length; i++) {
return optionalRedirect(actionManager.execute(actionNames[i], context), path, response, allowRedirect);
}
}
return false;
}