UploadEvent"

From Documentation
m
m
Line 1: Line 1:
== UploadEvent ==
+
{{ZKComponentReferencePageHeader}}
Represents that user has uploaded one or several files from the client to the server.
 
  
== Class Name ==
+
= UploadEvent =
org.zkoss.zk.ui.event.UploadEvent
 
  
== Methods ==
+
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#u1 UploadEvent]
 +
*Java API: <javadoc>org.zkoss.zk.ui.event.UploadEvent</javadoc>
  
{| border="1"
+
= Employment/Purpose =
 +
 
 +
Represents that user has uploaded one or several files from the client to the server.
 +
 
 +
= Example =
 +
 
 +
 
 +
 
 +
 
 +
 
 +
=Supported events=
 +
 
 +
{| border="1" | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
! <center>Description</center>
+
! <center>Event Type</center>
! <center>Data Type</center>
+
|-
 +
| None
 +
| None
 +
|}
 +
 
 +
=Supported Children=
 +
 
 +
*NONE
  
|-
+
=Use cases=
| <tt>getMedia()</tt>
 
| Returns the first media being uploaded, or null if no file is uploaded.
 
| <center><tt>org.zkoss.util.media.Media</tt></center>
 
  
 +
{| border='1px' | width="100%"
 +
! Version !! Description !! Example Location
 
|-
 
|-
| <tt>getMedias()</tt>
+
| 5.0+
| Returns the array of media being uploaded, or null if the user uploaded no file at all.
+
| &nbsp;
| <center><tt><nowiki>org.zkoss.util.media.Media[]</nowiki></tt></center>
+
| &nbsp;
 
 
 
|}
 
|}
== Inherited From  ==
 
  
{| border="1"
+
=Version History=
! <center>Inherited From</center>
 
  
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 
|-
 
|-
| [#Event org.zkoss.zk.ui.event.Event ]
+
| 5.0.1
 +
| 4/30/2010
 +
| Initialization
 +
|}
  
|}
+
{{ZKComponentReferencePageFooter}}

Revision as of 08:15, 30 April 2010

UploadEvent

Employment/Purpose

Represents that user has uploaded one or several files from the client to the server.

Example

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/2010 Initialization



Last Update : 2010/04/30

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