Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1592

Close button is not shown in modal dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 6.5.1
    • ZHTML

      Close button is not shown in modal dialog when window title is not set.

      Example: http://zkfiddle.org/sample/26rh2l3/12-Close-button-is-not-shown-in-modal-dialog or

      Example code
      @Command("ok")
      public void ok() {
        Window window = (Window)Executions.createComponents("inner.zul", null, null);
        window.setBorder(true);
        window.setClosable(true);
        window.setTitle("Title");
        window.doModal();
      }
      
      @Command("wrong")  
      public void wrong() {
        Window window = (Window)Executions.createComponents("inner.zul", null, null);
        window.setBorder(true);
        window.setClosable(true);
        window.doModal();    
      }
      

            jumperchen jumperchen
            sbglobesy sbglobesy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: