Fileupload"

From Documentation
m
Line 1: Line 1:
init
+
{{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+
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 
 +
=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

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

Name
Event Type
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



Last Update : 2010/04/30

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.