je me suis ceci:Envoi paramètre à un contrôleur
<a4j:commandLink action="#{searchBean.someMethod}" reRender="search"><span><h:graphicImage value="/home/img/icons/red.gif" width="12" height="12" /> Street</span></a4j:commandLink>
Et sur mon Bean, je me suis une méthode:
public void someMethod(String string){
doStruff();
}
Est-il possible d'envoyer une chaîne en tant que paramètre à ma méthode?