| Line 30... |
Line 30... |
| 30 |
import org.tela_botanica.client.vues.Formulaire;
|
30 |
import org.tela_botanica.client.vues.Formulaire;
|
| 31 |
import org.tela_botanica.client.vues.FormulaireBarreValidation;
|
31 |
import org.tela_botanica.client.vues.FormulaireBarreValidation;
|
| 32 |
import org.tela_botanica.client.vues.personne.PersonneForm;
|
32 |
import org.tela_botanica.client.vues.personne.PersonneForm;
|
| Line 33... |
Line 33... |
| 33 |
|
33 |
|
| - |
|
34 |
import com.extjs.gxt.ui.client.Style.Scroll;
|
| 34 |
import com.extjs.gxt.ui.client.Style.Scroll;
|
35 |
import com.extjs.gxt.ui.client.Style.SortDir;
|
| 35 |
import com.extjs.gxt.ui.client.core.XTemplate;
|
36 |
import com.extjs.gxt.ui.client.core.XTemplate;
|
| 36 |
import com.extjs.gxt.ui.client.event.BaseEvent;
|
37 |
import com.extjs.gxt.ui.client.event.BaseEvent;
|
| 37 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
38 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
| 38 |
import com.extjs.gxt.ui.client.event.ComponentEvent;
|
39 |
import com.extjs.gxt.ui.client.event.ComponentEvent;
|
| Line 1124... |
Line 1125... |
| 1124 |
return editeur;
|
1125 |
return editeur;
|
| 1125 |
}
|
1126 |
}
|
| Line 1126... |
Line 1127... |
| 1126 |
|
1127 |
|
| 1127 |
private String construireIntituleAuteur() {
|
1128 |
private String construireIntituleAuteur() {
|
| - |
|
1129 |
String intituleAuteur = "";
|
| - |
|
1130 |
|
| - |
|
1131 |
// TODO : ranger par ordre non-alphabétique
|
| 1128 |
String intituleAuteur = "";
|
1132 |
grille.getStore().sort("nom", SortDir.ASC);
|
| - |
|
1133 |
List<Personne> auteurs = grille.getStore().getModels();
|
| 1129 |
List<Personne> auteurs = grille.getStore().getModels();
|
1134 |
|
| 1130 |
Iterator<Personne> itAuteurs = auteurs.iterator();
|
1135 |
Iterator<Personne> itAuteurs = auteurs.iterator();
|
| 1131 |
while (itAuteurs.hasNext()) {
|
1136 |
while (itAuteurs.hasNext()) {
|
| 1132 |
Personne personneCourante = itAuteurs.next();
|
1137 |
Personne personneCourante = itAuteurs.next();
|
| 1133 |
intituleAuteur += personneCourante.getNom().toUpperCase() + " " + personneCourante.getPrenom();
|
1138 |
intituleAuteur += personneCourante.getNom().toUpperCase() + " " + personneCourante.getPrenom();
|