public WOActionResults uploadSucceeded() {
AjaxUploadProgress progress = uploadProgress();
try {
boolean deleteFile = true;
if (hasBinding("filePath")) {
setValueForBinding(progress.fileName(), "filePath");
}
if (hasBinding("data")) {
NSData data = new NSData(progress.tempFile().toURI().toURL());
setValueForBinding(data, "data");