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

Close button is not shown in modal dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: 6.5.1
    • Fix Version/s: None
    • Component/s: ZHTML
    • Labels:

      Description

      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();    
      }
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: