wrapper.contextPut("collabsibleContentPanelTitel", StringEscapeUtils.escapeHtml(collabsibleContentPanelTitel));
wrapper.contextPut("resizable", resizable);
wrapper.contextPut("constrain", constrain);
wrapper.contextPut("scroll", Boolean.valueOf(autoScroll).toString());
if (wControl.getWindowBackOffice().getGlobalSettings().getAjaxFlags().isIframePostEnabled()) {
wrapper.contextPut("renderOnce", new ConsumableBoolean(true));//panels should only be rendered once in ajax mode, otherwise they get doubled (e.g. switching tabs between open courses)
wrapper.contextPut("renderAlways", Boolean.FALSE);
} else {
wrapper.contextPut("renderAlways", Boolean.TRUE);//render each time in non ajax mode
wrapper.contextPut("renderOnce", new ConsumableBoolean(true));
}
putInitialPanel(main);
}