Back in topic, there is no .args attribute, unfortunately...
All I can see is a MouseEvent, looking into its properties I couldn't find
the value I'm searching for, but I might be wrong of course...
On Fri, Mar 21, 2014 at 12:23 PM, Koen Deforche <k...@emweb.be> wrote:
> Hey,
>
> 2014-03-21 12:09 GMT+01:00 Nagaev Boris <bnag...@gmail.com>:
>
>> Hello,
>>
>> I tried to discover where arguments are stored. See code of Wt.emit. It
>> looks like it is .args attribute of event, but I am not sure.
>> BTW, I tried to use connect("function (o, e) { alert(1); }") and it does
>> not work. Looks like this is broken in my Wt version (3.2.3).
>>
>
> This is indeed not something that is handled well. Although it's possible
> to make sure that the JavaScript is being called if you use
> JSignal.createCall(), it's not very user-friendly: you should invoke this
> function only after the connections have been made, and we should equally
> call the JavaScript if you use Wt.emit() directly in JavaScript code.
>
> Can you create a ticket for this?
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest