That is browser default behavior. To copy selected text to the clipboard, press ctrl-c (windows / linux) or command-c (OS X) or select copy from the edit menu (all platforms). This is the same way that you would copy from any other application. To supply a nonstandard UI element to perform a well known task like that violates best practices, and annoys users.
So, basically, you can do it the way everyone is used to (by pressing the well known "copy" key combination, or select from the well known edit menu location) or you can attempt to fabricate a nonstandard way using JSNI that is likely to be fragile and bug prone. -jason On Mar 23, 2009, at 11:28 AM, Harry wrote: > > Hi, > > My project is that user is enabled to copy the content of a text box > and paste it on another form using 'Copy' button. Please advice how to > do it as GWT is not support copying to system clipboard. > > Please help its important. > > Thanks > Harry > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
