Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.1
-
Fix Version/s: 3.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
Description
Add an attribute to ace:dataExporter that allows application developers to specify a custom exporter type to be used instead of the built-in supported formats. Such object must be a subclass of org.icefaces.ace.component.dataexporter.Exporter.
Activity
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #30649 | Thu Aug 30 15:43:58 MDT 2012 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterMeta.java
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporter.java
|
| Field | Original Value | New Value |
|---|---|---|
| Salesforce Case | [] | |
| Fix Version/s | 3.2 [ 10338 ] |
| Assignee | Arturo Zambrano [ artzambrano ] |
| Link | This issue blocks ICE-8486 [ ICE-8486 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

Committed improvement at revision 30649 in the trunk.
Note: since the ace:dataExporter component has always worked by creating a new instance of a specific exporter type, the best practice for a custom exporter is to return a new instance of the exporter in the getter method, e.g.:
public Object getCustomExporter()
{ return new MyExporter(); }Since, this getter is called in the Invoke Application phase, the exporter instance can pass any other application data in the constructor of the custom exporter, e.g.:
public Object getCustomExporter()
{ return new MyExporter(selectedItems); }