Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
StiWebDesigerHandler that supplies the report and persists it on save.StiWebDesignerOptions options = new StiWebDesignerOptions();
options.setTheme(StiWebDesignerTheme.Office2013DarkGrayBlue);
StiWebDesigerHandler handler = new StiWebDesigerHandler() {
public StiReport getEditedReport(HttpServletRequest request) throws Exception {
return StiSerializeManager.deserializeReport(new FileInputStream(reportPath));
}
public void onSaveReportTemplate(StiReport report, StiRequestParams params, HttpServletRequest request) throws Exception {
StiSerializeManager.serializeReport(report, new FileOutputStream(savePath + params.designer.fileName), true);
}
};
// <stiwebdesigner:webdesigner handler="${handler}" options="${options}" />getEditedReport — returns the template to open in the designer.onSaveReportTemplate — receives the edited report on save; serialize it wherever you need.<stiwebdesigner:webdesigner handler options /> — the tag that renders the designer.