ICEfaces Component Suite
Tag dataExporter

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:

The outputTypeHandler attribute allows developer to define custom output formats.

Tag Information
Tag Classcom.icesoft.faces.component.dataexporter.DataExporterTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

bindingfalsefalsejava.lang.String The value binding expression linking this component to a property in a backing bean
clickToCreateFileTextfalsefalsejava.lang.String The value of this attribute will be rendered as an hyper link which can be clicked to create the file.
forfalsefalsejava.lang.String Id of the dataTable.
idfalsefalsejava.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
labelfalsefalsejava.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.
outputTypeHandlerfalsefalsejava.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
renderedfalsefalsejava.lang.String Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.

It can have one of the following value:

  • excel
  • csv
Note: If the custom handler has been defined using the outputTypeHandler attribute then it will take percedence over this attribute.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.