自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 NC portal通过表头主键查询子表vo数据集合

//单据主键        String pk = (String)headrow.getValue(ds.nameToIndex(ds.getPrimaryKeyField()));        Listlistvo=null;        try {            listvo = (List)new BaseDAO().executeQuery(            

2017-04-22 17:02:58 1065

原创 NC portal获取按钮控件,控制其显示与置灰

获取按钮控件,控制其显示与置灰 MenubarComp comp = (MenubarComp) ViewUtil.getCurrentView().getViewMenus().getMenuBar("menubar"); comp.getElementById("edit").setEnabled(false);

2017-03-10 14:34:08 1107

原创 NC portal获取按钮控件,控制其显示与隐藏

获取按钮控件,控制其显示与隐藏   LfwView main=LfwRuntimeEnvironment.getWebContext().getPageMeta().getView("main"); GridComp gridb=(GridComp) main.getViewComponents().getComponent("phoneBvo_grid"); MenubarComp mc

2017-03-10 14:32:12 1606

原创 NC portal保存只能获取当前子表选中行的数据集问题

保存是获取子表数据只能获取到当前选中的行 代码如下: LfwViewmain=LfwRuntimeEnvironment.getWebContext().getPageMeta().getView("main"); Dataset bodyds =main.getViewModels().getDataset("phoneBvo"); Row[] bodyRows =bodyds.getA

2017-03-10 14:25:50 636

原创 NC portal给参照设置条件(添加过滤条件)

给参照设置值(过滤参照),先给参照设置监听 IRefNoderefNode =this.getCurrentView().getViewModels().getRefNode("phoneBvodef1_hrhi_0001Z7HI10PSN0000ZJ2"); NCRefNodencModel = ((NCRefNode) refNode); ncModel.setDataListener(

2017-03-10 14:19:44 3104

原创 NC portal关闭当前窗口

//WindowContext windowContext =AppLifeCycleContext.current().getWindowContext(); //windowContext.closeView(""); // 关闭当前窗口  AppLifeCycleContext.current().getApplicationContext().closeWinDialog();

2017-03-10 14:17:06 761

原创 NC portal设置表头表体编辑性

LfwView main=LfwRuntimeEnvironment.getWebContext().getPageMeta().getView("main"); //表体 GridComp gridb=(GridComp) main.getViewComponents().getComponent("phoneBvo_grid"); GridColumn phoneno=(GridColu

2017-03-10 14:14:24 1572 1

原创 NC portal通过接口调用vo集(可以是aggvo)

IMDPersistenceQueryService service = NCLocator.getInstance().lookup( IMDPersistenceQueryService.class); NCObject ncObject1 =service.queryBillOfNCObjectByPK(PsndocAggVO.class, pk); //通过此接口可调用vo集数据(可以

2017-03-10 14:11:15 589

原创 NC portal获取当前登录者vo数据

LfwRuntimeEnvironment.getLfwSessionBean().getUserObj(CpUserVO.class);//获取当前登录者vo数据

2017-03-10 11:52:18 1518

原创 NC portal 获取当前界面主表(子表)的值

LfwView main = AppLifeCycleContext.current().getViewContext().getView(); //主表 Dataset datasParent=main.getViewModels().getDataset("headid");//获取当前视图某个表的数据集 Row row=datasParent.getSelectedRow();//获取

2017-03-10 11:37:44 1829

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除