-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I am restricting the user to upload the maximum size not greater than 50 mb. So I have set maxsize as 50 mb in fileUpload code below:
<dropupload style="color:#ccc;height:50px;" onUpload="@command('onFileUpload')"
width="100%" maxsize="51200">
</dropupload>
When the user uploads the file greater than 50 mb, zk error modal popup is shown. I want to override that error window with my customised error.
Can we override Zk message to my own custom messages with styles in ZK?
According to the docs you can customize the button-upload error message since ZK8.0.0 and this has been added to Dropupload in 8.0.2 http://tracker.zkoss.org/browse/ZK-3086 (also contains a workaround for older versions)
Did you try that already? Did it fail?
Asked: 2016-09-29 09:11:51 +0800
Seen: 29 times
Last updated: Sep 30 '16
ZK 7.0.3 doAfterCompose is not called for GenericForwardComposer
Power of ZK Calender With Charts 2 and Other Components
ZK7 atlantic theme: vlayout/hlayout spacing
Structuring zul-code without includes?
css zk 7.0.3 with ie9 not work
Change listbox MVVM template with Java or how to let user change column order
http://forum.zkoss.org/question/71121/customized-error-message-for-to-big-file-uploads/
hswain ( 2016-09-29 10:08:07 +0800 )edit