Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.Alpha1
-
Fix Version/s: EE-2.0.0.Beta1
-
Component/s: Facelet Components
-
Labels:None
-
Environment:EE-2.0
Description
As part of create the 2.0 EE compat component we removed the ProgressInputFile component from the component suite old compat fileInput component was no longer supported in ICEfaces 2.0.
The idea behind this task is to create a wrapper component if possible that backwards compatible with ProgressInputFiel but use the new ACE file upload component.
The idea behind this task is to create a wrapper component if possible that backwards compatible with ProgressInputFiel but use the new ACE file upload component.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Brad Kroeger [ brad.kroeger ] | Patrick Corless [ patrick.corless ] |
Patrick Corless
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-2.0.0.Beta1 [ 10254 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The file upload component has been successfully added back into the showcase. There is one major change that will have to be documented in the release notes. Since we have a new upload component for 2.0 the api has changed slightly for the progressInputFile backing bean/model. It now uses the class org.icefaces.component.fileentry.FileEntryResults.FileInfo instead of the old 1.8.2 class
com.icesoft.faces.component.inputfile.FileInfo .
There isn't much we can do about this incompatibility but for the most part other then the packaging change the class signature is more or less the same.
Revision: 25854
Author: patrick.corless
Date: 5:19:39 PM, January-20-11
Message:
IPCK-191added progressInputFile back to the cc's. The component now wraps the ace:fileEntry component, because of the api change in icefaces 2.0, we now have to use the data model FileEntryResults.FileInfo for getting at the upload file's properties.Modified : /icepack2/trunk/icepack/compat-composite-components/conf/icecc.taglib.xml
Modified : /icepack2/trunk/icepack/compat-composite-components/conf/tld/icecc.tld
Added : /icepack2/trunk/icepack/compat-composite-components/src/com/icesoft/faces/facelets/component/progress/ProgressInputFileBean.java
Added : /icepack2/trunk/icepack/compat-composite-components/web/progress/progressInputFile.xhtml
Revision: 25856
Author: patrick.corless
Date: 5:21:55 PM, January-20-11
Message:
IPCK-191added the progressInputFile back into the demo. The ProgressInputFileBean model bean for this component has changed slightly we now using a new API for the underlying fileEntry component.Added : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/java/com/icesoft/faces/facelets/example/progress/ProgressInputFileExampleBean.java
Added : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/WEB-INF/includes/examples/composition-components/progressInputFile.xhtml
Modified : /icepack2/trunk/icepack/samples/composite-comps-showcase/src/main/webapp/WEB-INF/navigation/application_structure.xml