I\' m trying to create a simple Button and when it\'s clicked I want to trigger a hidden FileUpload widget which is inside a FormPanel. What I have done until now is two thi
You can also use JSNI like this:
private native void triggerClick(Element e) /*-{ e.click(); }-*/;
Then call
triggerClick(fileInput.getElement());