You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Marcus Schulte (JIRA)" <de...@tapestry.apache.org> on 2007/07/17 20:36:05 UTC

[jira] Resolved: (TAPESTRY-1202) EventListener - send custom data in the same way browser event data is sent

     [ https://issues.apache.org/jira/browse/TAPESTRY-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Schulte resolved TAPESTRY-1202.
--------------------------------------

    Resolution: Fixed

> EventListener - send custom data in the same way browser event data is sent
> ---------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1202
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1202
>             Project: Tapestry
>          Issue Type: Wish
>          Components: XHR/dhtml/Ajax
>    Affects Versions: 4.1.2
>         Environment: any
>            Reporter: alex d
>            Assignee: Marcus Schulte
>            Priority: Minor
>             Fix For: 4.1.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org