EAS_客户单初始化绑定新增的菜单控件
可以扩展类中声明控件
然后再onload中遍历绑定控件
//初始化控件信息
int toolBarComponentCount = this.toolBar.getComponentCount();
for(int i = 0;i<toolBarComponentCount;i++){
Component component = this.toolBar.getComponent(i);
if("btnSplit".equalsIgnoreCase(component.getName()) && (component instanceof KDWorkButton)){
btnSplit = (KDWorkButton)component;
break;
}
}
super.onLoad();
String className = (String)getUIContext().get("UIClassParam");
if(className != null && className.equals("VIEWALL")){
this.btnSave.setVisible(false);
this.btnBatchInput.setVisible(false);
this.btnSubmit.setVisible(false);
this.btnAudit.setVisible(false);
this.btnAddNew.setVisible(false);
this.btnView.setVisible(false);
this.btnCopy.setVisible(false);
this.btnEdit.setVisible(false);
this.btnRemove.setVisible(false);
this.btnRefresh.setVisible(false);
this.btnEndorseListing.setVisible(false);
this.btnViewBgBalance.setVisible(false);
this.btnVoucher.setVisible(false);
this.btnDelVoucher.setVisible(false);
this.btnEndorseIn.setVisible(false);
this.btnEndorseOut.setVisible(false);
this.btnDiscount.setVisible(false);
this.btnCollectRegister.setVisible(false);
this.btnGather.setVisible(false);
this.btnNotify.setVisible(false);
this.btnTrustee.setVisible(false);
this.btnPledge.setVisible(false);
this.btnBook.setVisible(false);
this.btnTranLend.setVisible(false);
this.btnCancelNotify.setVisible(false);
this.btnPoolPledge.setVisible(false);
this.btnPoolTrustee.setVisible(false);
this.btnDataMatch.setVisible(false);
this.btnDiscountApply.setVisible(false);
this.btnQuery.setVisible(false);
}
linux下的docker操作命令及异常