Hey,
> Here is my code snippet
>
> this.__copyCommand = new qx.ui.core.Command("Control+C");
>
> this.__copyCommand.addListener("execute",function(e){this.copyRow();},
> this);
>
> this.__pasteCommand = new qx.ui.core.Command("Control+V");
> this.__pasteCommand.addListener("execute",
> function(e){this.paste()}, this);
>
> copyRow : function(e){
> //Get Active widget
> var target =
> qx.ui.core.FocusHandler.getInstance().getActiveWidget();
> if (target instanceof qx.ui.table.Table){
> //Copy row code
> }
> return;
> }
>
>
> That is the gist of the code.
Doesn't look wrong. Hm...
> Should I have something in the handler that
> explicitly sets preventDefault to false?
No, thats the default behavior. Do you know if thats possible at all in web
apps?
Regards,
Martin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel