public class UIFileUploadEvent extends UIEvent
| Modifier and Type | Method and Description |
|---|---|
static UIFileUploadEvent |
failure(UIFileUpload component,
String errorMessage)
Full constructor for failed uploads.
|
protected Map<String,?> |
getEventProperties(UIComponent component)
Returns initial properties.
|
static UIFileUploadEvent |
success(UIFileUpload component,
SetHolder uploadedFiles)
Full constructor for successful uploads.
|
getEvent, getEventType, getLspsComponent, toStringpublic static UIFileUploadEvent success(UIFileUpload component, SetHolder uploadedFiles)
component - the file upload component, not null.uploadedFiles - files uploaded, not null, not empty.public static UIFileUploadEvent failure(UIFileUpload component, String errorMessage)
component - errorMessage - protected Map<String,?> getEventProperties(UIComponent component)
UIEventgetEventProperties in class UIEventcomponent - the execution context of the listener, not null.Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.