throw new ServletException("Could not find path for panel " + panel.toInlineString());
}
template = addParams(template, dispatch, "UTF-8");
// log.debug("path " + path);
PanelsContext context = support.getOrCreateContext(request, locale);
// log.debug("push " + panel.getName());
context.push(panel);
// add dispatch parameters to current panel
// Iterator params = dispatch.getParamConfigs();
// while (params.hasNext()) {
// ParamConfig param = (ParamConfig)params.next();
// context.addParamConfig(
// new DynamicParamConfig(param.getName(), param.getValue())
// );
// }
try {
dispatch(request, response, template, false);
} finally {
// log.debug("pop " + panel.getName());
context.pop();
}
return;
}
}
super.dispatch(request, response, dispatch);