Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help in fixing Exporter after migrating from primefaces 7 to 8 #1709

Closed
Prashant-Raghuvanshi opened this issue Apr 18, 2024 · 1 comment

Comments

@Prashant-Raghuvanshi
Copy link

Prashant-Raghuvanshi commented Apr 18, 2024

Getting the following errors after upgrading the primefaces version cant find a solution to fix those issues please help.
ERROR MESSAGE
/////The type Exporter cannot be the superclass of CustomPdfWriter; a superclass must be a class//////
public class CustomPdfWriter extends Exporter {
///Logic

	@Override
	**ERROR MESSAGE**
	/////The method export(FacesContext, DataTable, String, boolean, boolean, String, MethodExpression, MethodExpression, ExporterOptions, MethodExpression) of type AnalysisReportPdfWriter must override or implement a supertype method//////
	public void export(FacesContext facesContext, DataTable table, String filename,
			boolean pageOnly, boolean selectionOnly, String encodingType,
			MethodExpression preProcessor, MethodExpression postProcessor, ExporterOptions argument1, MethodExpression argument2) throws IOException{
			////Logic
			}
					**ERROR MESSAGE**
			//////ColumnType cannot be resolved to a variable
			    	addColumnFacets(table, pdfTable, ColumnType.HEADER);
@melloware melloware transferred this issue from primefaces/primefaces Apr 18, 2024
@melloware
Copy link
Member

Please use the Community Discussions: https://github.com/orgs/primefaces/discussions/categories/primefaces

@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants