187,6 → 187,7 |
}); |
|
ToolbarTextItem exporter = new ToolbarTextItem("<a href=\"#\" id=\"lienExport\"> Exporter </a>"); |
ToolbarTextItem exporterPDF = new ToolbarTextItem("<a href=\"#\" id=\"lienExportPDF\" title=\"Génération d'étiquettes au format PDF pour la sélection\"> Étiquettes </a>"); |
|
barreActions.addButton(publier); |
barreActions.addButton(privatiser); |
196,6 → 197,7 |
barreActions.addButton(importer); |
barreActions.addSpacer(); |
barreActions.addItem(exporter); |
barreActions.addItem(exporterPDF); |
|
this.setTopToolbar(barreActions) ; |
this.setBottomToolbar(bt); |
386,14 → 388,19 |
|
ExtElement lienExport = Ext.get("lienExport") ; |
lienExport.addListener("click", new EventCallback() { |
|
@Override |
public void execute(EventObject e) { |
|
observationMediateur.exporterObservations(); |
} |
|
}); |
|
ExtElement lienExportPDF = Ext.get("lienExportPDF") ; |
lienExportPDF.addListener("click", new EventCallback() { |
@Override |
public void execute(EventObject e) { |
observationMediateur.exporterObservationsPDF(); |
} |
}); |
} |
}); |
|