Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3086

Users can customize file size exceeding message for Dropupload

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.2
    • 8.0.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.2 S2

      1. load the zul below
        <dropupload maxsize="5" detection="none" onUpload="" >
            <attribute name="content"><![CDATA[
                <b>Drop Here</b><br/>
                size < 5k
            ]]></attribute>
        </dropupload>
        
      2. upload a picture over the max size

      users may customize the message below

      it's better to use the same message like http://books.zkoss.org/wiki/ZK%20Component%20Reference/Essential%20Components/Button#Customize_Upload_Size_Exceeding_Message

      workaround

      Override javascript function, please refer to attached zul

            wenninghsu wenninghsu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d