myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: <a4j:support and <a4j:actionparam
Date Thu, 10 Mar 2011 15:27:16 GMT
I doubt it matters whether you are using tomahawk or richfaces or
something else.

Have you tried <f:setPropertyActionListener target="#{VDBean.foo}"
value="true" /> yet?

On Thu, Mar 10, 2011 at 8:05 AM, daniel ccss <danielccss2@gmail.com> wrote:
> Anyone?
>
>
> On Wed, Mar 9, 2011 at 5:06 PM, daniel ccss <danielccss2@gmail.com> wrote:
>>
>> 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
View raw message