Hi,I'm not finding any of the elemental classes / code. I'm including gwt-user , gwt-dev , and gwt-servlet (all 2.8.0-SNAPSHOT) as dependencies. But, the elemental.dom and elemental.dom imports are failing. Do I need to add another dependency in order toinclude Elemental's code?
Thank you. By the way, how can you get an elemental.html.File or FileList object from a gwt FileUpload widget or an <input type=file> widget? I.e if the user selects a file to upload, how can I handle it using the Elemental File api?
Is there a way to use input element from a ui binder file, or add it to a panel?
--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/kpEZbSNO5zI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
<g:HTMLPanel> <div> <input type="file" ui:field="file"></input> </div></g:HTMPanel>
Is there a way to use input element from a ui binder file, or add it to a panel?
On Aug 1, 2015 10:22 PM, "Jens" <jens.ne...@gmail.com> wrote:
--Thank you. By the way, how can you get an elemental.html.File or FileList object from a gwt FileUpload widget or an <input type=file> widget? I.e if the user selects a file to upload, how can I handle it using the Elemental File api?You need to access the "files" property of the input element. The InputElement of elemental has a getFiles() method for it.-- J.
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/kpEZbSNO5zI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsub...@googlegroups.com.