Caused by: java.lang.reflect.InvocationTargetException: null
Caused by: java.lang.IllegalStateException: Editor of class com.dragonpass.jigaocommon.entity.Lounge cannot be open with mode EDIT, entity is not set
资源策略的实体,实体属性都是配置了,以下按钮的逻辑代码
@Subscribe("itdSubscribesTable.viewLounge")
public void onItdSubscribesTableViewLounge(final Action.ActionPerformedEvent event) {
ItdSubscribe itdSubscribe = this.itdSubscribesTable.getSingleSelected();
Lounge lounge = loungeDao.getByCodeLg(itdSubscribe.getFdRelationCode(), itdSubscribe.getFdLg().getFdCode());
var build = screenBuilders.editor(Lounge.class, this)
.withScreenClass(LoungeEdit.class)
.withOpenMode(OpenMode.NEW_TAB) // 打开模式
.editEntity(lounge)
.build();
build.setReadOnly(true);
build.show();
}