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

Users can customize file size exceeding message for Dropupload

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.0.2 S2

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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