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

Execution.getParameterMap() is empty when using WebSocket

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.0
    • None

      Steps to Reproduce

      <button onClick='System.out.println(Executions.getCurrent().getParameterMap().values());'/>

      1. click the button without WebSocket enabled, you get a collection with 4 values
      2. enabled WebSocket with org.zkoss.zkmax.au.websocket.WebSocketWebAppInit
      3. Click the button

      Current Result

      Executions.getCurrent().getParameterMap() returns an empty collection

      Expected Result

      returns the expected parameters like under AJAX

      Debug Information

      • app dev might check parameters to to further action e.g. in PerformanceMeter, check parameters to know which events in an Execution

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: