import gwtupload.client.IFileInput.FileInputType; import gwtupload.client.IUploadStatus.Status; import gwtupload.client.IUploader; import gwtupload.client.IUploader.OnChangeUploaderHandler; import gwtupload.client.IUploader.OnFinishUploaderHandler; import gwtupload.client.MultiUploader; import gwtupload.client.Utils;
This is what I use in project The Jar is gwtupload-1.03.jar Only this version is compliable for GWT 2.9 On Thursday, August 5, 2021 at 7:55:17 AM UTC-5 [email protected] wrote: > What kind of "Uploader" component do you use? > > Thanks, > Lofi > [email protected] schrieb am Montag, 2. August 2021 um 09:39:30 UTC+2: > >> I upgrade a project from GWT 2.5.1+Java 8 to GWT 2.9 +Java 11 >> >> I got (TYpeError): Cannot read property 'Xe' of null when I >> >> IUploader currentUploader = new Uploader(fileInputType, >> autoSubmit);//autosubmit = true >> IUploadStatus statusWidget = new IUploadStatus(); >> try{ >> currentUploader.setStatusWidget(statusWidget); >> }catch(Exception e){ >> //print error here >> // (TYpeError): Cannot read property 'Xe' of null got printed here >> } >> >> This code does not have any problems when I use GWT 2.5+Java 8 >> >> //Symptom >> The upload file GWT File control is shown. I can clicked the control and >> select a file to upload >> >> The control shows the selected file name but it does not call http >> servlet that is on server side. >> >> Web.xml >> <servlet> >> <servlet-name>uploadServlet</servlet-name> >> <servlet-class> >> >> edu.vanderbilt.mc.aries.server.rpc.control.AttachmentUploaderService >> </servlet-class> >> </servlet> >> >> <servlet-mapping> >> <servlet-name>uploadServlet</servlet-name> >> <url-pattern>*.gupld</url-pattern> >> </servlet-mapping> >> >> >> I ggogled the erro rmessage. It seems that this is a JQuery error >> >> Any suggestions or comments are really appreciated >> >> Yibin Li >> >> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/64b40421-3e27-4c92-88f6-fc839f51fd6bn%40googlegroups.com.
