Subversion Repositories eFlore/Applications.coel

Rev

Rev 1613 | Rev 1637 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1613 Rev 1633
Line 114... Line 114...
114
	
114
	
115
	private IdentificationFenetre fenetreIdentification = null;
115
	private IdentificationFenetre fenetreIdentification = null;
Line 116... Line 116...
116
	private int nbElements = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbElementsPage"));
116
	private int nbElements = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbElementsPage"));
-
 
117
	
Line 117... Line 118...
117
	
118
	private Sequenceur sequenceur = null;
118
	private Sequenceur sequenceur = null;
119
	private boolean premierChargement = true;
119
	
120
	
Line 822... Line 823...
822
		Integer seqId = null;
823
		Integer seqId = null;
823
		if (sequenceur != null)	{
824
		if (sequenceur != null)	{
824
			seqId = sequenceur.lancerRequeteSynchrone(vueARafraichir);
825
			seqId = sequenceur.lancerRequeteSynchrone(vueARafraichir);
825
			vueARafraichir = sequenceur;
826
			vueARafraichir = sequenceur;
826
		}
827
		}
-
 
828
 
827
		modele.selectionnerStructure(vueARafraichir, getProjetId(), structureId, null, 0, nbElements, seqId);
829
		modele.selectionnerStructure(vueARafraichir, getProjetId(), structureId, null, 0, nbElements, seqId);
828
	}
830
	}
Line 829... Line 831...
829
	
831
	
830
	public void selectionnerStructure(Rafraichissable vueARafraichir, String structureId, String projetId, String nom, int start, int nbElements, Sequenceur sequenceur)	{
832
	public void selectionnerStructure(Rafraichissable vueARafraichir, String structureId, String projetId, String nom, int start, int nbElements, Sequenceur sequenceur)	{
Line 1896... Line 1898...
1896
	//												GESTION de l'HISTORIQUE du navigateur
1898
	//												GESTION de l'HISTORIQUE du navigateur
1897
	//+----------------------------------------------------------------------------------------------------------------+
1899
	//+----------------------------------------------------------------------------------------------------------------+
1898
	@Override
1900
	@Override
1899
	public void onValueChange(ValueChangeEvent<String> event) {
1901
	public void onValueChange(ValueChangeEvent<String> event) {
1900
		String token = event.getValue();
1902
		String token = event.getValue();
1901
		
-
 
-
 
1903
		if(premierChargement) {
1902
		if (token != null) {
1904
			if (token != null) {
1903
			if (token.lastIndexOf("?") == -1) {
1905
				if (token.lastIndexOf("?") == -1) {
1904
				this.requeteUrl = null;
1906
					this.requeteUrl = null;
1905
				this.clicMenu(token);
1907
					this.clicMenu(token);
1906
			} else {
1908
				} else {
1907
				int indexDebutRequete = (token.lastIndexOf("?") + 1);
1909
					int indexDebutRequete = (token.lastIndexOf("?") + 1);
1908
				int indexFinPlace = token.lastIndexOf("?");
1910
					int indexFinPlace = token.lastIndexOf("?");
1909
				String place = token.substring(0, indexFinPlace);
1911
					String place = token.substring(0, indexFinPlace);
1910
				requeteUrl = token.substring(indexDebutRequete);
1912
					requeteUrl = token.substring(indexDebutRequete);
1911
				Log.trace("URL Place : "+place);
1913
					Log.trace("URL Place : "+place);
1912
				Log.trace("URL Requete : "+requeteUrl);
1914
					Log.trace("URL Requete : "+requeteUrl);
1913
				analyseRequeteURL();
1915
					analyseRequeteURL();
1914
				this.clicMenu(place);
1916
					this.clicMenu(place);
1915
			}
1917
				}
1916
	    }
1918
		    }
-
 
1919
		}
-
 
1920
		premierChargement = false;
1917
	}
1921
	}
Line 1918... Line 1922...
1918
	
1922
	
1919
	private void analyseRequeteURL() {
1923
	private void analyseRequeteURL() {
1920
		String[] params = requeteUrl.split("&");
1924
		String[] params = requeteUrl.split("&");