Fonction appellé deux fois
Salut à tous,
J'ai un petit prbl,j'ai un bean qui appelle une méthode,mais celle ci est appellé deux fois
Code:
1 2
|
<td><html:commandLink action="#{controleur.Cliqueextremite}"><html:graphicImage value="images/superieur2.bmp"/><core:param name="symbole" value="sup"/></html:commandLink></td> |
Code:
1 2 3 4 5 6 7 8 9 10 11
|
public String Cliqueextremite() {
nb1="1";
nb2="2";
nb3="3";
nb4="4";
nb5="5";
this.symboleclique=1;
return "clique";
} |
Ca ne correspond pas à la vie des beans par hasard.Il y a aurait il un moyen d'y remerdier