The ice:dataExporter component can be used to export the
data contents of an ice:dataTable component into a variety of formats.
There are following two formats supported by the component:
| Attributes |
| Name | Required | Request-time | Type | Description |
| binding | false | false | java.lang.String |
The value binding expression linking this component to a property in a backing bean
|
| clickToCreateFileText | false | false | java.lang.String |
The value of this attribute will be rendered as an hyper link which can be
clicked to create the file.
|
| for | false | false | java.lang.String |
Id of the dataTable.
|
| id | false | false | java.lang.String |
The component identifier for this component. This value must be
unique within the closest parent component that is a naming
container.
|
| label | false | false | java.lang.String |
The value of this attribute will be rendered to download the generated file.
If it has not been defined then the file name will be rendered instead.
|
| outputTypeHandler | false | false | java.lang.String |
Custom output handler can be define using this attribute. The custom handler
must be a type of com.icesoft.faces.component.dataexporter.OutputTypeHandler
|
| rendered | false | false | java.lang.String |
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent form
submit.
|
| type | false | false | java.lang.String |
It can have one of the following value:
Note: If the custom handler has been defined using the outputTypeHandler
attribute then it will take percedence over this attribute.
|