Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.2
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ACE
-
Affects:Sample App./Tutorial
Description
The existing MD5 tutorial shows how do update the FileEntryStatus to reflect a success and a failure, but the failure won't actually ever happen. ICE-7712 was from us not testing the failure case either. So, let's augment the tutorial to allow for actually passing and actually failing.
We should set a maximum file size, which would show pre-failing, and then do the MD5, and succeed after that, but then fail on some condition, like a file extension being JPEG pr something like that.
We should set a maximum file size, which would show pre-failing, and then do the MD5, and succeed after that, but then fail on some condition, like a file extension being JPEG pr something like that.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #30583 | Thu Aug 23 08:20:26 MDT 2012 | matthew.cowell | [ Implemented custom failure on upload of certain file types |
Files Changed | ||||
DEL
/icefaces3/trunk/icefaces/tutorials/file-callback-tutorial/src/main/resources/messages_en.properties
MODIFY /icefaces3/trunk/icefaces/tutorials/file-callback-tutorial/src/main/webapp/WEB-INF/faces-config.xml MODIFY /icefaces3/trunk/icefaces/tutorials/file-callback-tutorial/src/main/java/org/icefaces/tutorials/ace/faces/listeners/FileMD5EncodingCallback.java MODIFY /icefaces3/trunk/icefaces/tutorials/file-callback-tutorial/src/main/webapp/WEB-INF/templates/tutorial-template.xhtml MODIFY /icefaces3/trunk/icefaces/tutorials/file-callback-tutorial ADD /icefaces3/trunk/icefaces/tutorials/file-callback-tutorial/src/main/java/messages_en.properties |