Thanks Myke but I'm using myfaces tomahawk, not richfaces.
I also tried a more simple code:
In the JSP:
<h:commandButton value="seleccionar"
actionListener="#{VisitaDomiciliarBean.seleccionar}" id="seleccionarLink"
style="display:none">
*<f:param name="booleanActividad" value="**
true"/>*
</h:commandButton>
In the BackingBean:
FacesContext context = FacesContext.getCurrentInstance();
String paramVaule =
(String)context.getExternalContext().getRequestParameterMap().get("*
booleanActividad*");
System.out.println(paramVaule);-----> null
But it returns null, what I'm missing?