Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC2
-
Fix Version/s: EE-3.0.0.BETA, 3.0.1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:http://server.ice:8888/svn/ossrepo/icefaces3/trunk/icefaces/tutorials/file-callback-tutorial
Firefox 3.6 / Chrome 16 / IE9
-
Affects:Sample App./Tutorial
Description
This tutorial appears to do nothing in it's current state. There's an ace:fileEntry to upload a file and then a button "Get MD5 Checksum". After selecting a file and clicking the button nothing happens. In IE9 there are multiple JS errors when loading the tutorial:
Message: 'jQuery' is undefined
Line: 1
Char: 2
Code: 0
URI: http://localhost:8080/file-callback-tutorial/javax.faces.resource/util/ace-components.js.jsf?ln=icefaces.ace
Message: Unable to get value of the property 'fileentry': object is null or undefined
Line: 36
Char: 1
Code: 0
URI: http://localhost:8080/file-callback-tutorial/main.jsf
Message: 'jQuery' is undefined
Line: 1
Char: 2
Code: 0
URI: http://localhost:8080/file-callback-tutorial/javax.faces.resource/util/ace-components.js.jsf?ln=icefaces.ace
Message: Unable to get value of the property 'fileentry': object is null or undefined
Line: 36
Char: 1
Code: 0
URI: http://localhost:8080/file-callback-tutorial/main.jsf
Committed the change to FacesMessagePhaseListener to handle the UIViewRoot being null.
icefaces 3 trunk
Subversion 27721
icefaces 3.0.x maintenance
Subversion 27840
Changed the updateStatus methods so that if the invalidate parameter is true, then it will only call FacesContext.renderResponse() if the lifecycle phase is not RESTORE_VIEW.
icefaces 3 trunk
Subversion 27724
icefaces 3.0.x maintenance
Subversion 27841
Removed compat from the tutorial, and added a work-around for this issue into the tutorial, for when people use the tutorial with ICEfaces 3.0.0 and older.
icefaces 3 trunk
Subversion 27831
icefaces 3.0.x maintenance
Subversion 27846
Updated the Maven building to use ICEfaces 3.0.0 and to use the same build targets names as the README.html
icefaces 3 trunk
Subversion 27835
icefaces 3.0.x maintenance
Subversion 27847
As well, the tutorial wiki page was updated along with its standalone .zip download.
http://wiki.icefaces.org/display/ICE/Incremental+Upload+Processing+Using+FileEntryCallback