Browse Source

CHART-2409 地图资源配置界面

master
zheng 7 years ago
parent
commit
a6fed9b4e6
  1. 4
      designer-chart/src/com/fr/van/chart/map/server/ChartMapEditorAction.java

4
designer-chart/src/com/fr/van/chart/map/server/ChartMapEditorAction.java

@ -24,8 +24,8 @@ public class ChartMapEditorAction extends UpdateAction {
public void actionPerformed(ActionEvent evt) {
int port = DesignerEnvManager.getEnvManager().getEmbedServerPort();
String web = GeneralContext.getCurrentAppNameOfEnv();
String serverlet = ServerConfig.getInstance().getReportServletName();
ServerStarter.browserURLWithLocalEnv(WorkContext.getCurrent().isLocal() ? String.format("http://localhost:%d/%s/%s?op=map", port, web, serverlet) : WorkContext.getCurrent().getPath() + "?op=map");
String serverlet = ServerConfig.getInstance().getServletName();
ServerStarter.browserURLWithLocalEnv(WorkContext.getCurrent().isLocal() ? String.format("http://localhost:%d/%s/%s/view/report?op=map", port, web, serverlet) : WorkContext.getCurrent().getPath() + "/view/report?op=map");
}
}

Loading…
Cancel
Save