Browse Source

REPORT-21556 导入excel不显示数据

bugfix/10.0
hades 5 years ago
parent
commit
40e62b014f
  1. 41
      designer-base/src/main/java/com/fr/design/javascript/JavaScriptActionPane.java
  2. 2
      designer-realize/src/main/java/com/fr/design/javascript/ListenerEditPane.java

41
designer-base/src/main/java/com/fr/design/javascript/JavaScriptActionPane.java

@ -144,30 +144,33 @@ public abstract class JavaScriptActionPane extends UIComboBoxPane<JavaScript> {
return contentDBManiPane;
}
public static JavaScriptActionPane defaultJavaScriptActionPane = new JavaScriptActionPane() {
public static JavaScriptActionPane createDefaultJavaScriptActionPane() {
return new JavaScriptActionPane() {
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 1L;
@Override
public DBManipulationPane createDBManipulationPane() {
JTemplate jTemplate = DesignerContext.getDesignerFrame().getSelectedJTemplate();
return jTemplate == null ? new DBManipulationPane() : jTemplate.createDBManipulationPane();
}
@Override
public DBManipulationPane createDBManipulationPane() {
JTemplate jTemplate = DesignerContext.getDesignerFrame().getSelectedJTemplate();
return jTemplate == null ? new DBManipulationPane() : jTemplate.createDBManipulationPane();
}
@Override
protected String title4PopupWindow() {
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Set_Callback_Function");
}
@Override
protected String title4PopupWindow() {
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Set_Callback_Function");
}
@Override
public boolean isForm() {
return false;
}
@Override
public boolean isForm() {
return false;
}
public String[] getDefaultArgs() {
return new String[0];
}
};
@Override
public String[] getDefaultArgs() {
return new String[0];
}
};
}
/**
* 生成界面默认的组建

2
designer-realize/src/main/java/com/fr/design/javascript/ListenerEditPane.java

@ -81,7 +81,7 @@ public class ListenerEditPane extends BasicBeanPane<Listener> {
// 提交入库
List dbManiList = new ArrayList();
dbManiList.add(autoCreateDBManipulationPane());
Commit2DBJavaScriptPane commit2DBJavaScriptPane = new Commit2DBJavaScriptPane(JavaScriptActionPane.defaultJavaScriptActionPane,
Commit2DBJavaScriptPane commit2DBJavaScriptPane = new Commit2DBJavaScriptPane(JavaScriptActionPane.createDefaultJavaScriptActionPane(),
dbManiList);
hyperlinkPane.add(DBCOMMIT, commit2DBJavaScriptPane);
// 自定义事件

Loading…
Cancel
Save