On Thursday, March 31, 2011 1:08:26 PM UTC+2, mightymightyblues wrote:
So, I create a :
<g:FormPanel enctype="multipart/form-data" method="post"
<input type="file" name="file"/>
Why a FormPanel?
<form ui:field="fileinfo" ...>
@UiField com.google.gwt.dom.client.FormElement fileinfo;
(you can also just use a com.google.gwt.dom.client.Element)
I'd then give it as an argument to the JSNI method rather than accessing the field from JSNI, but that's just a matter of personal taste (just that the JSNI is more readable IMO)--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.