Author: ayanul
Date: 2008-04-28 04:11:32 -0400 (Mon, 28 Apr 2008)
New Revision: 8219
Modified:
trunk/test-applications/facelets/src/main/java/fileUpload/FileUpload.java
Log:
rename isTemp -> isTempFile
Modified: trunk/test-applications/facelets/src/main/java/fileUpload/FileUpload.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/fileUpload/FileUpload.java 2008-04-28
08:11:03 UTC (rev 8218)
+++ trunk/test-applications/facelets/src/main/java/fileUpload/FileUpload.java 2008-04-28
08:11:32 UTC (rev 8219)
@@ -36,7 +36,7 @@
public void fileUploadListener(UploadEvent event) throws Exception{
UploadItem upload = event.getUploadItem();
- if (upload.isFile()) {
+ if (upload.isTempFile()) {
File file = upload.getFile();
} else {
ByteArrayOutputStream b = new ByteArrayOutputStream();