org.zkoss.zkmax.zul.FiledownloadListener.class"
From Documentation
(Created page with ' {{ZKConfigurationReferencePageHeader}} Default: <i>none</i> [Enterprise Edition] [Since 3.5.0] It specifies the name of the class that will be notified when a file download…') |
Robertwenzel (talk | contribs) m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | '''Property:''' | ||
+ | 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. | ||
− | 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 upcoming 24 hours. | + | 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. |
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
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.