myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel ccss <danielcc...@gmail.com>
Subject Re: <a4j:support and <a4j:actionparam
Date Wed, 09 Mar 2011 23:06:37 GMT
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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message