|
|
@ -15,6 +15,9 @@ import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.webattr.printsettings.PrintSettingPane; |
|
|
|
import com.fr.design.webattr.printsettings.PrintSettingPane; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
|
|
|
|
import com.fr.report.web.WebPage; |
|
|
|
|
|
|
|
import com.fr.report.web.WebView; |
|
|
|
|
|
|
|
import com.fr.report.web.WebWrite; |
|
|
|
import com.fr.web.attr.ReportWebAttr; |
|
|
|
import com.fr.web.attr.ReportWebAttr; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
@ -74,13 +77,20 @@ public class EditReportServerParameterPane extends LoadingBasicPane { |
|
|
|
// File.separator + reportServerPreferenceConfig.fileName());
|
|
|
|
// File.separator + reportServerPreferenceConfig.fileName());
|
|
|
|
|
|
|
|
|
|
|
|
webAttr = ((ReportWebAttr) ConfigManager.getProviderInstance().getGlobalAttribute(ReportWebAttr.class)); |
|
|
|
webAttr = ((ReportWebAttr) ConfigManager.getProviderInstance().getGlobalAttribute(ReportWebAttr.class)); |
|
|
|
if (webAttr != null) { |
|
|
|
WebPage webPage = webAttr.getWebPage(); |
|
|
|
pagePane.populateBean(webAttr.getWebPage()); |
|
|
|
WebView webView = webAttr.getWebView(); |
|
|
|
viewPane.populateBean(webAttr.getWebView()); |
|
|
|
WebWrite webWrite = webAttr.getWebWrite(); |
|
|
|
writePane.populateBean(webAttr.getWebWrite()); |
|
|
|
if(webPage != null){ |
|
|
|
cssPane.populate(webAttr); |
|
|
|
pagePane.populateBean(webPage); |
|
|
|
jsPane.populate(webAttr); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(webView != null){ |
|
|
|
|
|
|
|
viewPane.populateBean(webView); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(webWrite != null){ |
|
|
|
|
|
|
|
writePane.populateBean(webWrite); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
cssPane.populate(webAttr); |
|
|
|
|
|
|
|
jsPane.populate(webAttr); |
|
|
|
printSettings = ReportUtils.getPrintSettingsFromServerConfig(); |
|
|
|
printSettings = ReportUtils.getPrintSettingsFromServerConfig(); |
|
|
|
printSettingPane.populate(printSettings); |
|
|
|
printSettingPane.populate(printSettings); |
|
|
|
|
|
|
|
|
|
|
|