org.zkoss.zkmax.zul.FiledownloadListener.class"
From Documentation
Robertwenzel (talk | contribs) m |
|||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zkmax.zul.FiledownloadListener.class | org.zkoss.zkmax.zul.FiledownloadListener.class | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
Default: <i>none</i> | Default: <i>none</i> | ||
− | |||
[Since 3.5.0] | [Since 3.5.0] | ||
+ | |||
+ | {{ZK EE}} | ||
It specifies the name of the class that will be notified when a file download is happening. The class must implement the <javadoc type="interface">org.zkoss.zkmax.zul.FiledownloadListener</javadoc> interface. | It specifies the name of the class that will be notified when a file download is happening. The class must implement the <javadoc type="interface">org.zkoss.zkmax.zul.FiledownloadListener</javadoc> interface. |
Latest revision as of 08:34, 7 July 2016
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]
- Available for ZK:
It specifies the name of the class that will be notified when a file download is happening. The class must implement the 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.