Line 12... |
Line 12... |
12 |
import org.tela_botanica.del.client.modeles.ModeTri;
|
12 |
import org.tela_botanica.del.client.modeles.ModeTri;
|
13 |
import org.tela_botanica.del.client.modeles.Observation;
|
13 |
import org.tela_botanica.del.client.modeles.Observation;
|
14 |
import org.tela_botanica.del.client.modeles.Protocole;
|
14 |
import org.tela_botanica.del.client.modeles.Protocole;
|
15 |
import org.tela_botanica.del.client.modeles.Utilisateur;
|
15 |
import org.tela_botanica.del.client.modeles.Utilisateur;
|
16 |
import org.tela_botanica.del.client.utils.URLUtils;
|
16 |
import org.tela_botanica.del.client.utils.URLUtils;
|
- |
|
17 |
import org.tela_botanica.del.client.Del;
|
Line 17... |
Line 18... |
17 |
|
18 |
|
18 |
import com.google.gwt.core.client.GWT;
|
19 |
import com.google.gwt.core.client.GWT;
|
19 |
import com.google.gwt.dom.client.Document;
|
20 |
import com.google.gwt.dom.client.Document;
|
20 |
import com.google.gwt.user.client.Window;
|
21 |
import com.google.gwt.user.client.Window;
|
Line 110... |
Line 111... |
110 |
String referentiel = Location.getParameter("masque.referentiel");
|
111 |
String referentiel = Location.getParameter("masque.referentiel");
|
111 |
String protocole = Location.getParameter("protocole");
|
112 |
String protocole = Location.getParameter("protocole");
|
112 |
String statutParam = Location.getParameter("masque.type");
|
113 |
String statutParam = Location.getParameter("masque.type");
|
113 |
String paysParam = Location.getParameter("masque.pays");
|
114 |
String paysParam = Location.getParameter("masque.pays");
|
Line -... |
Line 115... |
- |
|
115 |
|
- |
|
116 |
String pnInscritsSeulement = Location.getParameter("masque.pninscritsseulement");
|
- |
|
117 |
// filtrage par défaut
|
- |
|
118 |
boolean pnInscritsSeulementBool = true;
|
- |
|
119 |
|
- |
|
120 |
if (pnInscritsSeulement != null) {
|
- |
|
121 |
Del.LogVersFirebug("le paramètre n'était pas NULL; on le teste");
|
- |
|
122 |
// un jour on aura "0" et ça annulera le paramètre par défaut
|
- |
|
123 |
pnInscritsSeulementBool = pnInscritsSeulement.equals("1");
|
- |
|
124 |
Del.LogVersFirebug("Il vaut : " + pnInscritsSeulementBool);
|
- |
|
125 |
}
|
114 |
|
126 |
|
115 |
String page = Location.getParameter("page");
|
127 |
String page = Location.getParameter("page");
|
116 |
Integer pageInt = null;
|
128 |
Integer pageInt = null;
|
117 |
try {
|
129 |
try {
|
118 |
pageInt = Integer.parseInt(page);
|
130 |
pageInt = Integer.parseInt(page);
|
Line 139... |
Line 151... |
139 |
rechercheParArguments.setDepartement(dept);
|
151 |
rechercheParArguments.setDepartement(dept);
|
140 |
rechercheParArguments.setAuteur(auteur);
|
152 |
rechercheParArguments.setAuteur(auteur);
|
141 |
rechercheParArguments.setDate(date);
|
153 |
rechercheParArguments.setDate(date);
|
142 |
rechercheParArguments.setTag(tag);
|
154 |
rechercheParArguments.setTag(tag);
|
143 |
rechercheParArguments.setPays(paysParam);
|
155 |
rechercheParArguments.setPays(paysParam);
|
- |
|
156 |
rechercheParArguments.setPnInscritsSeulement(pnInscritsSeulementBool);
|
Line 144... |
Line 157... |
144 |
|
157 |
|
145 |
if (protocole != null && !protocole.equals("")) {
|
158 |
if (protocole != null && !protocole.equals("")) {
|
146 |
CacheClient.getInstance().setIdProtocoleEnAttente(protocole);
|
159 |
CacheClient.getInstance().setIdProtocoleEnAttente(protocole);
|
147 |
rechercheParArguments.setIdProtocoleSelectionne(protocole);
|
160 |
rechercheParArguments.setIdProtocoleSelectionne(protocole);
|