Hi all,
-- I am pretty new to GWT and javascript. The application is GWT and there is a textbox that needs to handle the following:
- drag and drop text
- cutting with the mouse
so the button used to save the information becomes enabled.
I have read and found GWT doesn't not handle the above items very well but you might be able to call JavaScript input events from within a GWT application.
The part I need help with is how to call and use Javascripts oninput within the GWT textbox.
Example:
private TextBox textBox;
this.textBox = new TextBox();
textBox.addChangeHandler(new ChangeHandler() {
public native void onInputEvent(Widget sender) /*-{
object.oninput = function() {Event};
}-*/;
});
Any help would be greatly appreciated.
Thank you,
Joe
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment