Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1967 Rev 1968
Line 52... Line 52...
52
	private final int KEY_SHIFT = 16;
52
	private final int KEY_SHIFT = 16;
53
	private final int KEY_TAB = 9;
53
	private final int KEY_TAB = 9;
54
	private final int KEY_UP = 38;
54
	private final int KEY_UP = 38;
Line 55... Line 55...
55
	
55
	
56
	final ComboBox nChamp;
56
	final ComboBox nChamp;
57
	final String champsListeTpl = "<div class=\"x-combo-list-item search-item-tpl search-c-field-tpl\" title=\"{label}\">{label}</div>";
57
	final String resultTplRefPerso = "<div class=\"search-item-ref\">{label}</div>"; 
58
	Button ajouterChampsEtenduEtFermer;
58
	Button ajouterChampsEtenduEtFermer;
59
	Button ajouterChampsEtendu;
59
	Button ajouterChampsEtendu;
60
	Button annulerAjouterChampEtendu;
60
	Button annulerAjouterChampEtendu;
Line 118... Line 118...
118
		hp.add(ajouterChampsEtendu);
118
		hp.add(ajouterChampsEtendu);
119
		hp.add(annulerAjouterChampEtendu);	
119
		hp.add(annulerAjouterChampEtendu);	
120
		add(hp);
120
		add(hp);
Line 121... Line 121...
121
		
121
		
-
 
122
		nChamp.setMode(ComboBox.REMOTE);
-
 
123
		nChamp.setTpl(resultTplRefPerso);
122
		nChamp.setMode(ComboBox.REMOTE);
124
		nChamp.setItemSelector("div.search-item-ref");
123
		nChamp.setTypeAhead(false);  
125
		nChamp.setTypeAhead(false);  
124
		nChamp.setLoadingText("Recherche...");  
126
		nChamp.setLoadingText("Recherche...");  
125
		nChamp.setHideTrigger(true);
127
		nChamp.setHideTrigger(true);
126
		nChamp.setWidth("250px");	
128
		nChamp.setWidth("250px");