Esempio n. 1
0
 public String ShowListView(
     DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) {
   super.ShowListView2(dataDom, sessionInfo, serviceRequest);
   try {
     // 添加重定向地址
     net.luculent.liems.jsdom.element.ProgramInfo pi = dataDom.getProgramInfo();
     pi.setProgramNo("B1BXS00013");
     setForwardURL(Tools.getProgramURL(dataDom, pi.getProgramNo(), "jsp"));
     // 添加传递的参数
     this.addForwardParameter(Constant.REQUEST_DATADOM, dataDom);
   } catch (Exception e) {
     serviceRequest.getMessage().addError(e.getMessage());
   }
   return "true";
 }
Esempio n. 2
0
 /**
  * 初始化处理
  *
  * @param dataDom DataDom
  * @param sessionInfo SessionInfo
  * @param serviceRequest ServiceRequest
  */
 public void init(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) {
   super.init(dataDom, sessionInfo, serviceRequest);
   DataRule.setOrg(dataDom, sessionInfo, serviceRequest, "POLEXRMST", "ORG_NO", false);
 }