Can not download files if <max-desktops-per-session> is set to 1 in zk.xml

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 6.5.5
    • Affects Version/s: 6.5.4
    • Component/s: Configuration
    • Security Level: Jimmy
    • None
    • None

      Cannot download files if <max-desktops-per-session> is set to 1 in zk.xml
      sample zul:
      <zk>
      <window apply="TestView">
      <button id="rtfBtn" label="rtf"></button>
      </window>
      </zk>

      sample TestView.java

      public class TestView extends SelectorComposer<Window> {

      @Listen("onClick=#rtfBtn")
      public void showReport() throws FileNotFoundException

      { File f = new File("c:/test/image005.jpg"); Filedownload.save(f, null); }

      }

      and click the "rtf" button to download file.

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

              Created:
              Updated:
              Resolved: