Details
-
Wish
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.1.2
-
None
-
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