Bonjour,

Je suis entrain de tester la multi lignes d'un tableau primefaces.

dans le tableau il y a un button auquel je déclenche une action
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
for (int i = 0; i < selectedCandidat.length; i++) {
			for (int j = 0; j < favNumber3.length; j++) {
 
				testcandidat.setCandidat(selectedCandidat[i]);			
 
 
					Tests test = new Tests();
					test = testsBuss.consulterTestsByDescription(favNumber3[j]);
					System.out.println(favNumber3[j]);
					testcandidat.setTests(test);
 
 
					String valeurOffre = (String) itemsOffre.get(getValSelectetoffre());
					int valselectedOffree = Integer.valueOf(getValSelectetoffre());
					Offre offree = new Offre(valselectedOffree,valeurOffre);
					testcandidat.setOffre(offree);
 
 
					testCandidatBuss.ajouterTestCandidat(testcandidat);
Mais j'obtiens l'erreur suivante java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 sur test = testsBuss.consulterTestsByDescription(favNumber3[j]);



Merci