Tapestry
  1. Tapestry
  2. TAPESTRY-1202

EventListener - send custom data in the same way browser event data is sent

    Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: XHR/dhtml/Ajax
    • Labels:
      None
    • Environment:
      any

      Description

      I wish i could send some customized data along with the browser event data that is already sent.

      I have a situation where the event i'm listening for is a function which has as an attribute a JSON object.

      For example :
      tree.afterExpand=function(expandedNodeData) {}

      When using the event listener i would like to be able to access the data :

      @EventListener(targets="tree",events="afterExpand")
      public doSomething(iRequestCycle cycle , BrowserEvent event) {
      //get somehow the expandedNodeData , maybe cycle.getParameter("data") , or event.get("data")
      }

      Alex

        Activity

        Alex Dragomir created issue -
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Fix Version/s 4.1.2 [ 12312202 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.3 [ 12312516 ]
        Fix Version/s 4.1.2 [ 12312202 ]
        Marcus Schulte made changes -
        Assignee Marcus Schulte [ mschu ]
        Marcus Schulte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12392939 ] Default workflow, editable Closed status [ 12569250 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569250 ] jira [ 12590502 ]

          People

          • Assignee:
            Marcus Schulte
            Reporter:
            Alex Dragomir
          • Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development