ICEFACES DATAEXPORTER PDF

Yoktilar The component identifier for this component. Attribute applies only if the component has no children. Christian Wilkie 2, 4 24 Post as a guest Name. This value must be unique within the closest parent component that is a naming container.

Author:Arashilrajas Dousar
Country:Puerto Rico
Language:English (Spanish)
Genre:Health and Food
Published (Last):4 November 2013
Pages:177
PDF File Size:4.67 Mb
ePub File Size:6.56 Mb
ISBN:660-4-11906-128-4
Downloads:80604
Price:Free* [*Free Regsitration Required]
Uploader:Kajijinn



Overview Since 3. This component renders an HTML button element. More components and HTML elements can be nested inside this tag to give a different look and feel to the button. When the button is clicked, a file is generated with the requested data, and a new JSF Resource is created to serve that file. The URL to that Resource is then sent to the client, which automatically loads the file on the same page, without navigating away from it and without disturbing its state.

Getting Started The data exporter has three required attributes: target, the id of the table to export; type the file format, and fileName the name of the file not including its extension. The following is an example of the basic usage. Also, one can nest other components or HTML markup inside the data exporter tag to modify the look and feel of the button. In this case, the label will be rendered before all other components and markup, but only if it was explicitly specified i.

The data exporter is unaware of stacked columns. Attributes TagLib Documentation This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here. The supported attributes are the following: The pageOnly attribute exports only the current page being displayed in the table, when using pagination.

The excludeColumns attribute accepts a comma-separated list of column indexes zero-relative to be excluded from the exporting. It can be modified dynamically. The userColumnOrder attribute is used to specify whether the columns should be exported according to the order established by the user in the client or according to the order in which the columns appear in the facelet. In the case of xls and pdf formats, one can use the preProcessor and postProcessor attributes to specify a method that will be invoked before or after the exporting, so that a developer can modify the document being delivered.

The method specified must accept an argument of type com. Document in the case of the pdf format, and an argument of type org. Workbook in the case of the xls format. The encoding attribute is used to specify the character encoding to use. The default value is UTF The includeHeaders and includeFooters boolean attributes are used to specify whether the column headers and column footers are included in the exported file, respectively.

If the selectedRowsOnly attribute is set to true, only the selected rows in the table will be included in the exported file. All selected rows in the entire table in all pages will be included in the exported file. The style and styleClass attributes are passed thru to the style and class attributes of the root HTML button. Client Behavior Events action Fired when the button is clicked or pressed by any other means.

Prior to 4. The "activate" event name is now deprecated but treated as an alias for "action" for backwards compatibility with existing applications. The reason for this change is to enable lazy-initialization of the ACE component JavaScript objects to improve runtime performance and reduce browser memory use. This Resource object stays in memory for the duration of the session.

In order to support exporting files in PDF format, the iText library version 2. For licensing reasons, the iText library is not included in the ICEfaces distribution bundles. Up to the 4. After the 4. If you want to suport the XLSX format, the following libraries have to be in the classpath of your application: Dom4j dom4j Apache XML Beans xmlbeans Labels parameters Enter labels to add to this page:.

ELEMENTOS DE ADMINISTRACION DE CREDITO Y COBRANZA EMILIO VILLASEOR PDF

ICEFACES DATAEXPORTER PDF

I have a datatable with a single ice: The method specified must dataexproter an argument of type com. Triggers when the button is clicked or pressed by any other means. On setClickToCreateFile method, the error message next is coming in the console: Below is the jspx code and attached is the output of the export No headers in output as well. Custom CSS style class es to use for this component. Source code of the class DataExporter part of icefaces-ace version Their order of precedence are as follows: The style and styleClass attributes are passed thru to the style and class attributes of the root HTML button.

INFOPRINT 1532 PDF

FREE THEMES

ID of the dataTable that this dataExporter component will export data from. String The component identifier for this component. This value must be unique within the closest parent component that is a naming container. String This is false by default. If true the dataExporter will ignore the "first" and "rows" properties on the associated dataTable. String This attribute lets you define the order and number of columns that needs to be added to the generated output.

Related Articles