61 |
jpm |
1 |
package org.tela_botanica.client.composants;
|
|
|
2 |
|
66 |
jpm |
3 |
import org.tela_botanica.client.ComposantId;
|
1066 |
gduche |
4 |
import org.tela_botanica.client.Mediateur;
|
66 |
jpm |
5 |
import org.tela_botanica.client.RegistreId;
|
907 |
jpm |
6 |
import org.tela_botanica.client.configuration.Configuration;
|
498 |
jp_milcent |
7 |
import org.tela_botanica.client.images.Images;
|
324 |
jp_milcent |
8 |
import org.tela_botanica.client.modeles.Information;
|
66 |
jpm |
9 |
import org.tela_botanica.client.modeles.Menu;
|
543 |
jp_milcent |
10 |
import org.tela_botanica.client.util.Pattern;
|
311 |
jp_milcent |
11 |
import org.tela_botanica.client.util.Print;
|
66 |
jpm |
12 |
|
498 |
jp_milcent |
13 |
import com.extjs.gxt.ui.client.event.Events;
|
66 |
jpm |
14 |
import com.extjs.gxt.ui.client.Registry;
|
543 |
jp_milcent |
15 |
import com.extjs.gxt.ui.client.Style.ButtonScale;
|
61 |
jpm |
16 |
import com.extjs.gxt.ui.client.Style.LayoutRegion;
|
66 |
jpm |
17 |
import com.extjs.gxt.ui.client.Style.Scroll;
|
498 |
jp_milcent |
18 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
66 |
jpm |
19 |
import com.extjs.gxt.ui.client.event.Listener;
|
69 |
jpm |
20 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
498 |
jp_milcent |
21 |
import com.extjs.gxt.ui.client.event.TreePanelEvent;
|
66 |
jpm |
22 |
import com.extjs.gxt.ui.client.store.Store;
|
|
|
23 |
import com.extjs.gxt.ui.client.store.TreeStore;
|
61 |
jpm |
24 |
import com.extjs.gxt.ui.client.util.Margins;
|
|
|
25 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
|
|
26 |
import com.extjs.gxt.ui.client.widget.Dialog;
|
66 |
jpm |
27 |
import com.extjs.gxt.ui.client.widget.HtmlContainer;
|
324 |
jp_milcent |
28 |
import com.extjs.gxt.ui.client.widget.Info;
|
343 |
jp_milcent |
29 |
import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
498 |
jp_milcent |
30 |
import com.extjs.gxt.ui.client.widget.form.StoreFilterField;
|
61 |
jpm |
31 |
import com.extjs.gxt.ui.client.widget.button.Button;
|
|
|
32 |
import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
|
|
|
33 |
import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
|
343 |
jp_milcent |
34 |
import com.extjs.gxt.ui.client.widget.layout.FlowLayout;
|
|
|
35 |
import com.extjs.gxt.ui.client.widget.layout.FormLayout;
|
543 |
jp_milcent |
36 |
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
|
498 |
jp_milcent |
37 |
import com.extjs.gxt.ui.client.widget.treepanel.TreePanel;
|
66 |
jpm |
38 |
import com.google.gwt.core.client.GWT;
|
324 |
jp_milcent |
39 |
import com.google.gwt.http.client.Request;
|
|
|
40 |
import com.google.gwt.http.client.RequestBuilder;
|
|
|
41 |
import com.google.gwt.http.client.RequestCallback;
|
|
|
42 |
import com.google.gwt.http.client.RequestException;
|
|
|
43 |
import com.google.gwt.http.client.Response;
|
|
|
44 |
import com.google.gwt.json.client.JSONArray;
|
|
|
45 |
import com.google.gwt.json.client.JSONObject;
|
|
|
46 |
import com.google.gwt.json.client.JSONParser;
|
|
|
47 |
import com.google.gwt.json.client.JSONValue;
|
66 |
jpm |
48 |
import com.google.gwt.user.client.Event;
|
61 |
jpm |
49 |
|
|
|
50 |
public class AideFenetre extends Dialog {
|
|
|
51 |
|
311 |
jp_milcent |
52 |
private static final String SERVICE_NOM = "CoelAide";
|
543 |
jp_milcent |
53 |
private static final String PAGE_SOMMAIRE_CODE = "AideCOELSommaire";
|
|
|
54 |
private static final String PAGE_A_OUVRIR_CODE = "AideCOELPresentationGenerale";
|
311 |
jp_milcent |
55 |
private static Menu pagePrincipale = null;
|
498 |
jp_milcent |
56 |
private static Menu menuAOuvrirParDefaut = null;
|
|
|
57 |
private TreePanel<Menu> arbre = null;
|
69 |
jpm |
58 |
private TreeStore<Menu> magazin = null;
|
|
|
59 |
private StoreFilterField<Menu> filtre = null;
|
324 |
jp_milcent |
60 |
private Menu sommaire = null;
|
343 |
jp_milcent |
61 |
private ContentPanel sommairePanneau = null;
|
66 |
jpm |
62 |
private ContentPanel contenuPanneau = null;
|
324 |
jp_milcent |
63 |
private HtmlContainer conteneurDuHtml;
|
343 |
jp_milcent |
64 |
private LayoutContainer entetePanneau;
|
543 |
jp_milcent |
65 |
private ToolBar sommaireBarreOutils;
|
324 |
jp_milcent |
66 |
|
61 |
jpm |
67 |
public AideFenetre() {
|
|
|
68 |
setBodyBorder(false);
|
69 |
jpm |
69 |
setButtons(Dialog.OK);
|
516 |
jp_milcent |
70 |
setIcon(Images.ICONES.appPanneauListe());
|
61 |
jpm |
71 |
setHeading("COEL - Aide");
|
324 |
jp_milcent |
72 |
setWidth(675);
|
|
|
73 |
setHeight(400);
|
61 |
jpm |
74 |
setHideOnButtonClick(true);
|
324 |
jp_milcent |
75 |
setLayout(new BorderLayout());
|
61 |
jpm |
76 |
|
543 |
jp_milcent |
77 |
creerPanneauEntete();
|
|
|
78 |
creerPanneauSommaire();
|
|
|
79 |
getSommaireArbreModele();
|
|
|
80 |
creerPanneauContenu();
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
private void creerPanneauEntete() {
|
343 |
jp_milcent |
84 |
entetePanneau = new LayoutContainer();
|
|
|
85 |
entetePanneau.setLayout(new FlowLayout());
|
|
|
86 |
BorderLayoutData enteteDisposition = new BorderLayoutData(LayoutRegion.NORTH, 30);
|
|
|
87 |
add(entetePanneau, enteteDisposition);
|
543 |
jp_milcent |
88 |
}
|
|
|
89 |
|
|
|
90 |
private void creerPanneauSommaire() {
|
343 |
jp_milcent |
91 |
inititialiserSommaireArbreFiltre();
|
543 |
jp_milcent |
92 |
creerSommaire();
|
343 |
jp_milcent |
93 |
|
|
|
94 |
sommairePanneau = new ContentPanel();
|
324 |
jp_milcent |
95 |
sommairePanneau.setScrollMode(Scroll.AUTO);
|
543 |
jp_milcent |
96 |
sommairePanneau.setHeight("100%");
|
|
|
97 |
sommairePanneau.setHeaderVisible(false);
|
|
|
98 |
|
|
|
99 |
creerBarreOutilSommaire();
|
|
|
100 |
|
358 |
jp_milcent |
101 |
BorderLayoutData sommaireDisposition = new BorderLayoutData(LayoutRegion.WEST, 230, 175, 350);
|
66 |
jpm |
102 |
sommaireDisposition.setMargins(new Margins(0, 5, 0, 0));
|
|
|
103 |
sommaireDisposition.setSplit(true);
|
|
|
104 |
sommaireDisposition.setFloatable(true);
|
543 |
jp_milcent |
105 |
add(sommairePanneau, sommaireDisposition);
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
private void creerBarreOutilSommaire() {
|
|
|
109 |
sommaireBarreOutils = new ToolBar();
|
|
|
110 |
// FIXME : on peut utiliser l'alignement à droite car cela pose un problème de rendu dans le Hosted Mode
|
|
|
111 |
//sommaireBarreOutils.setAlignment(HorizontalAlignment.RIGHT);
|
|
|
112 |
creerBoutonPlierDeplier();
|
|
|
113 |
sommairePanneau.setTopComponent(sommaireBarreOutils);
|
|
|
114 |
}
|
|
|
115 |
|
|
|
116 |
private void creerBoutonPlierDeplier() {
|
|
|
117 |
Button plierDeplierToutBtn = new Button();
|
|
|
118 |
plierDeplierToutBtn.addSelectionListener(new SelectionListener<ButtonEvent>() {
|
498 |
jp_milcent |
119 |
public void componentSelected(ButtonEvent be) {
|
|
|
120 |
Button boutonPlierDeplierTout = (Button) be.getSource();
|
|
|
121 |
if (boutonPlierDeplierTout.getIcon().equals(Images.ICONES.deplierTout())) {
|
543 |
jp_milcent |
122 |
boutonPlierDeplierTout.setIcon(Images.ICONES.replierTout());
|
343 |
jp_milcent |
123 |
arbre.expandAll();
|
498 |
jp_milcent |
124 |
} else if (boutonPlierDeplierTout.getIcon().equals(Images.ICONES.replierTout())) {
|
543 |
jp_milcent |
125 |
boutonPlierDeplierTout.setIcon(Images.ICONES.deplierTout());
|
343 |
jp_milcent |
126 |
arbre.collapseAll();
|
|
|
127 |
}
|
543 |
jp_milcent |
128 |
boutonPlierDeplierTout.repaint();
|
343 |
jp_milcent |
129 |
}
|
|
|
130 |
});
|
498 |
jp_milcent |
131 |
plierDeplierToutBtn.setIcon(Images.ICONES.deplierTout());
|
543 |
jp_milcent |
132 |
plierDeplierToutBtn.setScale(ButtonScale.SMALL);
|
1066 |
gduche |
133 |
plierDeplierToutBtn.setToolTip(Mediateur.i18nC.plierDeplierToutBtn());
|
543 |
jp_milcent |
134 |
sommaireBarreOutils.add(plierDeplierToutBtn);
|
|
|
135 |
}
|
|
|
136 |
|
|
|
137 |
private void creerPanneauContenu() {
|
|
|
138 |
contenuPanneau = new ContentPanel();
|
|
|
139 |
contenuPanneau.setScrollMode(Scroll.AUTO);
|
343 |
jp_milcent |
140 |
|
543 |
jp_milcent |
141 |
creerBarreOutilContenu();
|
61 |
jpm |
142 |
|
543 |
jp_milcent |
143 |
BorderLayoutData contenuDisposition = new BorderLayoutData(LayoutRegion.CENTER);
|
|
|
144 |
add(contenuPanneau, contenuDisposition);
|
|
|
145 |
}
|
|
|
146 |
|
|
|
147 |
private void creerBarreOutilContenu() {
|
498 |
jp_milcent |
148 |
Button imprimerBtn = new Button(null, new SelectionListener<ButtonEvent>() {
|
|
|
149 |
public void componentSelected(ButtonEvent be) {
|
324 |
jp_milcent |
150 |
Print.it(conteneurDuHtml.el().getInnerHtml());
|
311 |
jp_milcent |
151 |
}
|
69 |
jpm |
152 |
});
|
516 |
jp_milcent |
153 |
imprimerBtn.setIcon(Images.ICONES.imprimer());
|
69 |
jpm |
154 |
contenuPanneau.getHeader().insertTool(imprimerBtn, 0);
|
61 |
jpm |
155 |
}
|
543 |
jp_milcent |
156 |
|
498 |
jp_milcent |
157 |
private void etendreArbre(Menu menuAOuvrir) {
|
543 |
jp_milcent |
158 |
if (menuAOuvrir != null) {
|
|
|
159 |
arbre.setExpanded(menuAOuvrir, true);
|
|
|
160 |
arbre.getSelectionModel().select(menuAOuvrir, false);
|
|
|
161 |
}
|
311 |
jp_milcent |
162 |
}
|
|
|
163 |
|
498 |
jp_milcent |
164 |
private void etendreArbre(String menuCode) {
|
|
|
165 |
Menu menuAOuvrir = magazin.findModel("code", menuCode);
|
543 |
jp_milcent |
166 |
etendreArbre(menuAOuvrir);
|
311 |
jp_milcent |
167 |
}
|
|
|
168 |
|
498 |
jp_milcent |
169 |
private void creerSommaire() {
|
516 |
jp_milcent |
170 |
magazin = new TreeStore<Menu>();
|
66 |
jpm |
171 |
|
|
|
172 |
filtre.bind(magazin);
|
343 |
jp_milcent |
173 |
|
516 |
jp_milcent |
174 |
arbre = new TreePanel<Menu>(magazin);
|
543 |
jp_milcent |
175 |
arbre.setAutoLoad(true);
|
|
|
176 |
arbre.setHeight("100%");
|
|
|
177 |
arbre.setDisplayProperty("nom");
|
516 |
jp_milcent |
178 |
arbre.getStyle().setLeafIcon(Images.ICONES.aide());
|
498 |
jp_milcent |
179 |
arbre.addListener(Events.OnClick, new Listener<TreePanelEvent<Menu>>(){
|
|
|
180 |
public void handleEvent(TreePanelEvent<Menu> tpe) {
|
543 |
jp_milcent |
181 |
Menu menuSelectionne = arbre.getSelectionModel().getSelectedItem();
|
|
|
182 |
if (menuSelectionne.get("code") != null) {
|
|
|
183 |
selectionSommaire((String) menuSelectionne.get("code"));
|
66 |
jpm |
184 |
}
|
|
|
185 |
}
|
325 |
jp_milcent |
186 |
});
|
66 |
jpm |
187 |
}
|
|
|
188 |
|
498 |
jp_milcent |
189 |
private void definirMenuAOuvrirParDefaut() {
|
|
|
190 |
menuAOuvrirParDefaut = magazin.findModel("code", PAGE_A_OUVRIR_CODE);
|
311 |
jp_milcent |
191 |
}
|
|
|
192 |
|
66 |
jpm |
193 |
private void selectionSommaire(String page) {
|
|
|
194 |
String serviceUrl = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl();
|
311 |
jp_milcent |
195 |
String aidePageUrl = serviceUrl+SERVICE_NOM+"/"+page;
|
66 |
jpm |
196 |
chargerPageAide(aidePageUrl);
|
|
|
197 |
}
|
|
|
198 |
|
|
|
199 |
private void chargerPageAide(String url) {
|
324 |
jp_milcent |
200 |
conteneurDuHtml = new HtmlContainer() {
|
66 |
jpm |
201 |
public void onBrowserEvent(Event e) {
|
|
|
202 |
// Nous vérifions que l'évenement est un clic et qu'il a lieu sur un lien
|
543 |
jp_milcent |
203 |
if (e.getTypeInt() == Event.ONCLICK && e.getEventTarget().toString().startsWith("http://")) {
|
66 |
jpm |
204 |
e.preventDefault();
|
498 |
jp_milcent |
205 |
String urlPageAideCible = e.getEventTarget().toString();
|
311 |
jp_milcent |
206 |
chargerPageAide(urlPageAideCible);
|
|
|
207 |
String codePageAideCible = urlPageAideCible.substring(urlPageAideCible.lastIndexOf("/")+1);
|
|
|
208 |
etendreArbre(codePageAideCible);
|
|
|
209 |
} else {
|
543 |
jp_milcent |
210 |
GWT.log("Event target:"+e.getEventTarget().toString()+" - type :"+e.getTypeInt()+"="+Event.ONCLICK, null);
|
66 |
jpm |
211 |
}
|
|
|
212 |
}
|
|
|
213 |
};
|
311 |
jp_milcent |
214 |
|
|
|
215 |
conteneurDuHtml.setId(ComposantId.PANNEAU_AIDE);
|
|
|
216 |
conteneurDuHtml.setWidth(400);
|
|
|
217 |
conteneurDuHtml.sinkEvents(Event.ONCLICK);
|
|
|
218 |
conteneurDuHtml.setUrl(url);
|
|
|
219 |
conteneurDuHtml.recalculate();
|
|
|
220 |
|
66 |
jpm |
221 |
contenuPanneau.removeAll();
|
311 |
jp_milcent |
222 |
contenuPanneau.add(conteneurDuHtml);
|
66 |
jpm |
223 |
contenuPanneau.layout();
|
|
|
224 |
}
|
|
|
225 |
|
|
|
226 |
private void inititialiserSommaireArbreFiltre() {
|
69 |
jpm |
227 |
filtre = new StoreFilterField<Menu>() {
|
66 |
jpm |
228 |
@Override
|
69 |
jpm |
229 |
protected boolean doSelect(Store<Menu> magazin, Menu parent, Menu enregistrement, String propriete, String filtre) {
|
311 |
jp_milcent |
230 |
Boolean retour = false;
|
69 |
jpm |
231 |
// Seul les feuilles sont traitées par le filtre
|
311 |
jp_milcent |
232 |
String nomMenu = enregistrement.getNom();
|
|
|
233 |
String nomMenuMinuscule = nomMenu.toLowerCase();
|
|
|
234 |
String nomFiltreMinuscule = filtre.toLowerCase();
|
543 |
jp_milcent |
235 |
String nomFiltreMinusculeProtege = Pattern.quote(nomFiltreMinuscule);
|
|
|
236 |
if (nomMenuMinuscule.matches(".*"+nomFiltreMinusculeProtege+".*")) {
|
311 |
jp_milcent |
237 |
retour = true;
|
69 |
jpm |
238 |
}
|
343 |
jp_milcent |
239 |
return retour;
|
66 |
jpm |
240 |
}
|
|
|
241 |
};
|
1066 |
gduche |
242 |
filtre.setFieldLabel(Mediateur.i18nC.chercher());
|
343 |
jp_milcent |
243 |
filtre.setLabelStyle("font-weight:normal;");
|
|
|
244 |
filtre.setToolTip("Filtrer le sommaire");
|
|
|
245 |
filtre.setWidth(200);
|
|
|
246 |
|
|
|
247 |
FormLayout fl = new FormLayout();
|
|
|
248 |
fl.setLabelWidth(55);
|
|
|
249 |
|
|
|
250 |
ContentPanel fp = new ContentPanel();
|
|
|
251 |
fp.setHeaderVisible(false);
|
|
|
252 |
fp.setLayout(fl);
|
|
|
253 |
fp.add(filtre);
|
|
|
254 |
entetePanneau.add(fp);
|
66 |
jpm |
255 |
}
|
|
|
256 |
|
324 |
jp_milcent |
257 |
public void getSommaireArbreModele() {
|
|
|
258 |
String serviceUrl = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl();
|
|
|
259 |
String sommairePageUrl = serviceUrl+SERVICE_NOM+"/"+PAGE_SOMMAIRE_CODE+"/sommaire";
|
|
|
260 |
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, sommairePageUrl);
|
|
|
261 |
try {
|
|
|
262 |
rb.sendRequest(null, new RequestCallback() {
|
66 |
jpm |
263 |
|
324 |
jp_milcent |
264 |
public void onError(Request request, Throwable exception) {
|
|
|
265 |
// Gestion des exceptions déclenchées par l'exécution de la requête
|
1066 |
gduche |
266 |
GWT.log(Mediateur.i18nM.erreurServiceJrest(SERVICE_NOM), exception);
|
1218 |
cyprien |
267 |
InfoLogger.display(Mediateur.i18nM.erreurRequeteTitre(), Mediateur.i18nM.erreurRequete(), true);
|
324 |
jp_milcent |
268 |
}
|
|
|
269 |
|
|
|
270 |
public void onErrorHTTP(Request request, Response reponse) {
|
|
|
271 |
// Gestion des erreurs HTTP renvoyé par Apache ou JRest
|
|
|
272 |
Information info = new Information("erreur_jrest", JSONParser.parse(reponse.getText()).isArray());
|
|
|
273 |
GWT.log("Erreur JREST - Code "+reponse.getStatusCode()+"\n"+info.getMessages().toString(), null);
|
1218 |
cyprien |
274 |
InfoLogger.display("Erreur JREST - Code "+reponse.getStatusCode(), info.toString(), true);
|
324 |
jp_milcent |
275 |
}
|
|
|
276 |
|
|
|
277 |
public void onResponseReceived(Request request, Response response) {
|
|
|
278 |
// Si le code de réponse HTTP ne vaut pas 200 OK, on lance le mécanise d'erreur HTTP
|
|
|
279 |
if (response.getStatusCode() != 200) {
|
|
|
280 |
onErrorHTTP(request, response);
|
|
|
281 |
} else {
|
|
|
282 |
if (response.getText().length() != 0 && response.getText() != null) {
|
|
|
283 |
final JSONValue responseValue = JSONParser.parse(response.getText());
|
|
|
284 |
JSONArray jsonArray = responseValue.isArray();
|
|
|
285 |
|
|
|
286 |
if (jsonArray != null) {
|
1066 |
gduche |
287 |
sommaire = new Menu(Mediateur.i18nC.sommaire());
|
324 |
jp_milcent |
288 |
ajouterMenuRecursivement(sommaire, jsonArray);
|
66 |
jpm |
289 |
|
516 |
jp_milcent |
290 |
magazin.removeAll();
|
324 |
jp_milcent |
291 |
magazin.add(sommaire, true);
|
|
|
292 |
|
498 |
jp_milcent |
293 |
definirMenuAOuvrirParDefaut();
|
325 |
jp_milcent |
294 |
|
324 |
jp_milcent |
295 |
sommairePanneau.add(arbre);
|
498 |
jp_milcent |
296 |
sommairePanneau.layout();
|
343 |
jp_milcent |
297 |
|
324 |
jp_milcent |
298 |
// Chargement de la page racine
|
|
|
299 |
selectionSommaire(pagePrincipale.getCode());
|
498 |
jp_milcent |
300 |
etendreArbre(menuAOuvrirParDefaut);
|
324 |
jp_milcent |
301 |
} else {
|
1066 |
gduche |
302 |
GWT.log(Mediateur.i18nM.erreurJson(responseValue.toString()), null);
|
324 |
jp_milcent |
303 |
}
|
|
|
304 |
}
|
|
|
305 |
}
|
|
|
306 |
}
|
|
|
307 |
});
|
|
|
308 |
} catch (RequestException e) {
|
|
|
309 |
e.printStackTrace();
|
66 |
jpm |
310 |
}
|
324 |
jp_milcent |
311 |
}
|
|
|
312 |
|
|
|
313 |
private void ajouterMenuRecursivement(Menu brancheSommaire, JSONArray tableau) {
|
|
|
314 |
final int tailleMax = tableau.size();
|
69 |
jpm |
315 |
|
324 |
jp_milcent |
316 |
for (int i = 0; i < tailleMax; i++) {
|
|
|
317 |
JSONObject pageCourante = tableau.get(i).isObject() ;
|
|
|
318 |
if (pageCourante != null) {
|
|
|
319 |
Menu menuCourrant = new Menu();
|
|
|
320 |
|
|
|
321 |
if (pageCourante.get("code") != null) {
|
543 |
jp_milcent |
322 |
String codeCourant = pageCourante.get("code").isString().stringValue();
|
|
|
323 |
menuCourrant.setCode(codeCourant);
|
324 |
jp_milcent |
324 |
}
|
|
|
325 |
if (pageCourante.get("txt") != null) {
|
|
|
326 |
menuCourrant.setNom(pageCourante.get("txt").isString().stringValue());
|
|
|
327 |
}
|
|
|
328 |
|
|
|
329 |
if (menuCourrant.getNom() == null && menuCourrant.getCode() == null) {
|
|
|
330 |
menuCourrant = (Menu) brancheSommaire.getChild((brancheSommaire.getChildCount() - 1));
|
|
|
331 |
} else {
|
|
|
332 |
if (brancheSommaire != null) {
|
|
|
333 |
brancheSommaire.add(menuCourrant);
|
|
|
334 |
if (pagePrincipale == null) {
|
|
|
335 |
pagePrincipale = menuCourrant;
|
|
|
336 |
}
|
|
|
337 |
}
|
|
|
338 |
}
|
|
|
339 |
if (pageCourante.get("liste") != null) {
|
|
|
340 |
ajouterMenuRecursivement(menuCourrant, pageCourante.get("liste").isArray());
|
|
|
341 |
}
|
|
|
342 |
}
|
|
|
343 |
}
|
66 |
jpm |
344 |
}
|
61 |
jpm |
345 |
}
|