Fix: Correct exporterExcel method call parameters
The exporterExcel method signature requires 11 parameters but was being called with only 3. This caused a compilation error during deployment. Fixed by providing all required parameters: - format, associationId, statut, type - dateAdhesionDebut, dateAdhesionFin - colonnesExport - inclureHeaders, formaterDates, inclureStatistiques - motDePasse Most parameters are set to null or default values for now.
This commit is contained in:
@@ -537,9 +537,20 @@ public class MembreListeBean implements Serializable {
|
||||
|
||||
public void exporterMembres() {
|
||||
try {
|
||||
byte[] excelData = membreService.exporterExcel(formatExport, null,
|
||||
searchCriteria.getStatut() != null && !searchCriteria.getStatut().isEmpty()
|
||||
? searchCriteria.getStatut() : null);
|
||||
byte[] excelData = membreService.exporterExcel(
|
||||
formatExport, // format
|
||||
null, // associationId
|
||||
searchCriteria.getStatut() != null && !searchCriteria.getStatut().isEmpty()
|
||||
? searchCriteria.getStatut() : null, // statut
|
||||
null, // type
|
||||
null, // dateAdhesionDebut
|
||||
null, // dateAdhesionFin
|
||||
null, // colonnesExport
|
||||
true, // inclureHeaders
|
||||
true, // formaterDates
|
||||
false, // inclureStatistiques
|
||||
null // motDePasse
|
||||
);
|
||||
|
||||
// Téléchargement du fichier Excel via JSF
|
||||
FacesContext facesContext = FacesContext.getCurrentInstance();
|
||||
|
||||
Reference in New Issue
Block a user