You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/05 01:28:51 UTC

[Myfaces Wiki] Update of "ExporterActionListener" by HazemSaleh

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.