Esempio n. 1
0
 public void myTask(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) {
   try {
     setForwardURL("FrontServlet");
     addForwardParameter("programNoFrom", dataDom.getProgramInfo().getProgramNo());
     addForwardParameter("programNo", "B1BXS00013");
   } catch (Exception e) {
     serviceRequest.getMessage().addError(e.getMessage());
   }
 }
Esempio n. 2
0
  public void myBookmark(DataDom dataDom, SessionInfo sessionInfo, ServiceRequest serviceRequest) {

    try {
      setForwardURL("FrontServlet");
      addForwardParameter("bookmark", "true");
      addForwardParameter("programNo", "B1BXS00013");
    } catch (Exception e) {
      serviceRequest.getMessage().addError(e.getMessage());
    }
  }
Esempio n. 3
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";
 }