예제 #1
0
  public static void showWindow() {
    ViewWindow window =
        (ViewWindow) Executions.createComponents("/pages/window/window.zul", null, null);

    WorkWithPartnerMZ work = new WorkWithPartnerMZ();
    Object[] objs = work.getListRows().toArray();
    window.setObj(objs);
    window.setLoad(true);
    window.doModal();
  }
예제 #2
0
파일: Main.java 프로젝트: GusevAlex/PPU
  public static void main(String[] args) {
    //        WorkWithMZ work1 = new WorkWithMZ();
    //        MZ mz = (MZ) work1.getEntity(1);

    String d = MD5.getMD5("1234");

    WorkWithPartnerMZ work = new WorkWithPartnerMZ();

    PartnersMZ part = (PartnersMZ) work.getEmptyEntity();

    Set set = new LinkedHashSet();
    set.add(new ComandMZ());

    ClassInvokeCall.callMethod(part, "setComandMZ", new Object[] {set});

    int y = 0;
  }