@Inject
private ShowPanelConfigComponent showPanelConfigComponent;
public void service(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws FormatterException {
try {
PanelInstance instance = showPanelConfigComponent.getPanelInstance();
if (instance != null) {
renderFragment("outputStart");
renderPanelParameters(httpServletRequest, instance, instance.getSystemParameters());
renderPanelParameters(httpServletRequest, instance, instance.getCustomParameters());
renderFragment("outputEnd");
} else {
log.warn("Error: panelInstance is null");
}