Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:jsf2.0, ICEfaces2.0, compat
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
Once progressMonitor is completed, then this component can be done in a similar fashion.
direction is to use new jsf2.0 resource handling api for fileupload--changing the iframe HTML so it posts back to a ResourceHandler looking for a multipart file upload . Mircea indicates that a custom ResrouceHandler may be required.
Also for state saving:-
com.icesoft.faces.component.inputfile.InputFile has (old)references to facesContext.getViewNumber() from 1.8.x, which are no longer available in ICEfaces 2.0. Ted suggests that this must be referenced from the ViewState of jsf2.0 so that fileupload is associated with the correct component tree.
There is also a reference to (old) DOMResponseWriter.getSavedNode() which no longer exists. Greg suggests that this is no longer required as jsf2.0 maintains the saved state.