Fileupload"
From Documentation
Zkwikiadmin (talk | contribs) |
m |
||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | |||
+ | = FileUpload = | ||
+ | |||
+ | *Demonstration: [http://www.zkoss.org/zkdemo/userguide/#u1 FileUpload ] | ||
+ | *Java API: <javadoc>org.zkoss.zul.Fileupload</javadoc> | ||
+ | *JavaScript API: <javadoc directory="jsdoc">zul.wgt.Fileupload</javadoc> | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | |||
+ | A fileupload dialog used to let user upload a file.The <tt>fileupload</tt> component is not a modal dialog. Rather, it is a component, so it is placed inline with other components. | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | |||
+ | <source lang="xml" > | ||
+ | <image id="img" /> | ||
+ | Upload your hot shot: | ||
+ | <fileupload onUpload="img.setContent(event.media)" /> | ||
+ | </source> | ||
+ | |||
+ | |||
+ | =Supported events= | ||
+ | |||
+ | {| border="1" | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | *NONE | ||
+ | |||
+ | =Use cases= | ||
+ | |||
+ | {| border='1px' | width="100%" | ||
+ | ! Version !! Description !! Example Location | ||
+ | |- | ||
+ | | 5.0+ | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | =Version History= | ||
+ | |||
+ | {| border='1px' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | 5.0.1 | ||
+ | | 4/30/2012 | ||
+ | | Initialization | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
Revision as of 04:44, 30 April 2010
FileUpload
- Demonstration: FileUpload
- Java API: Fileupload
- JavaScript API: Fileupload
Employment/Purpose
A fileupload dialog used to let user upload a file.The fileupload component is not a modal dialog. Rather, it is a component, so it is placed inline with other components.
Example
<image id="img" />
Upload your hot shot:
<fileupload onUpload="img.setContent(event.media)" />
Supported events
None | None |
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 4/30/2012 | Initialization |