I got this:
<a4j:commandLink action="#{searchBean.someMethod}" reRender="search"><span><h:graphicImage value="/home/img/icons/red.gif" width="12" height="12" /> Street</span></a4j:commandLink>
And on my Bean, I got a method:
public void someMethod(String string){
doStruff();
}
Is it possible to send a String as parameter to my method?
You can send param with
<f:param>
like thisand then get it in you method using
ActionEvent