Browse Source

Merge pull request #1408 in BA/design from ~PLOUGH/design:release/9.0 to release/9.0

* commit '46b2bceaf7d4fba9f9ed64cd6ea08c04e6632661':
  REPORT-5308 代码规范
  REPORT-5308 [9.0三轮回归]【8.0 master 也存在】 修改后第一次预览没有数据,再预览一次就好了
master
superman 7 years ago
parent
commit
47f2396382
  1. 4
      designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java

4
designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java

@ -3,6 +3,7 @@ package com.fr.design.data.datapane;
import com.fr.base.BaseUtils;
import com.fr.base.TableData;
import com.fr.data.TableDataSource;
import com.fr.data.impl.TableDataSourceDependent;
import com.fr.design.DesignModelAdapter;
import com.fr.design.ExtraDesignClassManager;
import com.fr.design.actions.UpdateAction;
@ -204,6 +205,9 @@ public class TableDataTreePane extends BasicTableDataTreePane {
tc.renameTableData(oldName, nPanel.getObjectName(), false);
TableDataSource tds = tc.getBook();
TableData td = uPanel.updateBean();
if (td instanceof TableDataSourceDependent) {
((TableDataSourceDependent) td).setTableDataSource(tds);
}
String tdName = nPanel.getObjectName();
tds.putTableData(tdName, td);
Map<String, String> map = new HashMap<String, String>();

Loading…
Cancel
Save