Friday, August 12, 2011

Implementing Cut, Copy & Paste in a page having 70 odd widgets

Hi,

I am trying to implement the cut, copy and paste functionality for a
page that has around 70 widgets including text boxes, list boxes,
labels, containers, panels and so on. The cut, copy and paste buttons
are part of these. When a User selects text in some text box in the
page and clicks on copy, the text box loses focus and the copy button
now has it. I need the text to call a method that has some Javascript
call in it like:

$wnd.window.clipboardData.setData("Text",text);

In order for me to do that I need text from the text box and because
the copy button now has it, I do not know where it has been selected
from.

Can anyone let me know if they have done anything similar before using
GWT?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate