Hello,

i've export some data from a datatable in csv. Now i would like to apply a post processor at the created file (http://www.primefaces.org/showcase/ui/data/dataexporter/basic.xhtml)

< p:dataExporter type="csv" target="tbl" fileName="cars" postProcessor="???"/>

What must I in place of the ??? ? Where can I define the bean ? How can I refer to this bean ?

asked 03.03.2015 at 17:23

dbalasse's gravatar image

dbalasse
(suspended)
accept rate: 25%


According to the documentation of <p:dataExporter>, the postProcessor must be evaluated to a method, not a bean. You can follow this example to see how the use the postProcessor

link

answered 04.03.2015 at 07:54

Genzer%20Hawker's gravatar image

Genzer Hawker
(suspended)
accept rate: 66%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×79
×58

Asked: 03.03.2015 at 17:23

Seen: 4,312 times

Last updated: 04.03.2015 at 07:54