Property:

org.zkoss.zkmax.zul.FiledownloadListener.class

Applicable:
  • globally in zk.xml via <library-property>
  • not as <custom-attribute>

Default: none
since 3.5.0

It specifies the name of the class that will be notified when a file download is happening. The class must implement the org.zkoss.zkmax.zul.FiledownloadListener interface.

A developer usually uses it to reject a download if the user tried to resume it in an unacceptable situation. For example, a developer can limit the user from downloading within the upcoming 24 hours.