-
FEATURED COMPONENTS
First time here? Check out the FAQ!
how to fix the fileupload size ..Example i want to fix maximam 5mb.
my code is
<zul:fileupload id = "file" focus="false" onUpload="fileUpload(event.media);" />
am using zk3
Did you try
<zul:fileupload id = "file" focus="false" maxsize="5120" onUpload="fileUpload(event.media);" ></zul:fileupload>
Cheers, Maik
i have used below code:
<zul:fileupload id = "file" focus="false" maxsize="5120" onUpload="fileUpload(event.media);" ></zul:fileupload>
But i got error Message like :
org.zkoss.zk.ui.metainfo.PropertyNotFoundException: Method, setMaxsize, not found for class org.zkoss.zul.Fileupload
am using zk.3 version. so please tell other option
by saravanavel
which version of zk 3 your're currently using ?
the 3.6.4 have this option
http://www.zkoss.org/javadoc/3.6.4/zk/org/zkoss/zul/Fileupload.html#setMaxsize(int)
Asked: 2011-12-14 11:47:34 +0800
Seen: 171 times
Last updated: Dec 16 '11