-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi guys, i have problem with onUpload event. It worked well in the past, but now suddenly it stopped working in my app. I have following situation, i choose file to be uploaded, file uploads, also upload shows me "100%" but then it stopps and do nothing. But it should call command "getModulsFromExcel". Interresting thing is that it used to work well until now and i dont know why, only thing that came into my mind is that i have upgraded to Java 8. But it souldn't affect it in my opininon...
part of zul file:
<button label="Get moduls from Excel" mold="trendy" upload="true" onUpload="@command('getModulsFromExcel',event=event)"/>
view model command:
@Command
public void getModulsFromExcel(@BindingParam("event") UploadEvent event)
{
System.out.println("function was called");
Media media = event.getMedia();
}
picture of my app, here it stopps and do nothing..
Hello demizon,
The issue has been previously reported and fixed for zk version 7.0.4 at the following url:
http://tracker.zkoss.org/browse/ZK-2471
Furthermore a workaround has been posted at the following url:
http://zkfiddle.org/sample/3djbtd1/3-upload-problem-ie10
Best Regards,
Darksu
Asked: 2014-12-04 08:45:26 +0800
Seen: 28 times
Last updated: Jan 02 '15