export (CSV) with a field contains a call to backing bean
Posted: 29 Mar 2012, 00:39
Awesome export capability.
Found an issue when one of the fields calls a routine on the backing bean.
given code in table column:
The page renders fine with no problems, but when you try to export the table:
we get javax.el.PropertyNotFoundException :
Property 'contactDetails' not found on type RRRController
method sig on controller:
PF 3.2
jsf-impl: 2.1.6.
Found an issue when one of the fields calls a routine on the backing bean.
given code in table column:
Code: Select all
<h:outputText value="#{RRRController.contactDetails(table-localvar)}" escape="false"/>
Code: Select all
<p:dataExporter type="csv" target="VVV-table" fileName="GGGData" />
Property 'contactDetails' not found on type RRRController
method sig on controller:
Code: Select all
public String contactDetails(YY yY) {
jsf-impl: 2.1.6.