Package org.zkoss.zul

Examples of org.zkoss.zul.Window


  public void onClick$btn_createWindow(Event event) throws SuspendNotAllowedException, InterruptedException {
    final String width = "800px";
    final String height = "300px";
    final String uri = "/WEB-INF/pages/welcome.zul";
    final Window window = (Window) Executions.createComponents(uri, (Component) getController(), null);
    window.setWidth(width);
    window.setHeight(height);
    window.doModal();
  }
View Full Code Here


   *
   * @param event
   * @throws InterruptedException
   */
  public void onClick$button_SecRoleList_PrintSecRole(Event event) throws InterruptedException {
    final Window win = (Window) Path.getComponent("/outerIndexWindow");
    new SecRoleSimpleDJReport(win);
  }
View Full Code Here

    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setSclass("OT-DashboardWindow");
    win.setParent(this);

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
View Full Code Here

    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setSclass("OT-DashboardWindow");
    win.setParent(this);

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
View Full Code Here

    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setParent(this);

    Groupbox gb = new Groupbox();
    gb.setMold("3d");
    gb.setClosable(false);
    gb.setParent(win);
View Full Code Here

    if (anOrder == null || anOrder.isNew()) {
      ZksampleMessageUtils.showErrorMessage(Labels.getLabel("message.error.PleaseFirstCreateOrder"));
      return;
    }

    Window win = (Window) Path.getComponent("/outerIndexWindow");

    try {
      new OrderDJReport(win, anOrder);
    } catch (final InterruptedException e) {
      ZksampleMessageUtils.showErrorMessage(e.toString());
View Full Code Here

    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setSclass("OT-DashboardWindow");
    win.setParent(this);

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
View Full Code Here

    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setParent(this);

    Groupbox gb = new Groupbox();
    gb.setMold("3d");
    gb.setClosable(false);
    gb.setParent(win);
View Full Code Here

    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    win = new Window();
    win.setBorder("none");
    win.setSclass("OT-DashboardWindow");
    win.setParent(this);

    youTubePanel = new Panel();
View Full Code Here

     * dialog when we do a delete, edit or insert a customer.
     */
    map.put("customerListCtrl", this);

    // call the zul-file with the parameters packed in a map
    Window win = null;
    try {
      win = (Window) Executions.createComponents("/WEB-INF/pages/customer/customerDialog.zul", null, map);
    } catch (final Exception e) {
      e.printStackTrace();
      ZksampleMessageUtils.showErrorMessage(e.toString());
      if (win != null) {
        win.detach();
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.Window

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.