myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "ExporterActionListener" by HazemSaleh
Date Wed, 05 Nov 2008 00:28:51 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by HazemSaleh:
http://wiki.apache.org/myfaces/ExporterActionListener

------------------------------------------------------------------------------
  
      <s:exporterActionListener filename="myFile" 
  	    		      fileType="<XLS or PDF>" 
+ 			      for="<your dataTable ID>">;
- 			      for="<your Tomahawk Scroller ID>"
-                               showDisplayedPageOnly="true or false (default: false)">;
  
  </h:commandButton>
  }}}
@@ -18, +17 @@

  
  * fileType: An attribute to specify whether to export an excel or a pdf file, possible values
are {'XLS', 'PDF'}.
  
- * for: An id of the dataScroller to be exported.
+ * for: An id of the dataTable to be exported.
  
  * filename: An optional attribute to specify the filename of the exported excel or pdf file.
- 
- * showDisplayedPageOnly: An attribute determines whether to generate only the current displayed
dataTable page to the file.
  
  [[BR]]
  The underlying excel exporting engine used is (Apache POI) while the pdf one is (iText).
Attribute (for) is the id of the datatable whose value to be exported, (fileType) is an attribute
to specify whether to export an excel or a pdf file , possible values are {'XLS', 'PDF'} ,
and (filename) is an optional attribute to specify the filename of the exported excel or pdf
file.

Mime
View raw message