I have not used a4j:actionparam, but under richfaces, I have successfully used

<a4j:support>
     <f:setPropertyActionListener target="#{target1}" value="#{value1}" />
     <f:setPropertyActionListener target="#{target2}" value="#{value2}" />
</a4j:support>

Perhaps that will do what you need.

On Wed, Mar 9, 2011 at 5:32 PM, daniel ccss <danielcc...@gmail.com> wrote:
> Hi, i have this code:
>
>                                <*a4j:region*>
>
> <*h:selectBooleanCheckbox*value="#{subtipo.seleccionado}"  id="checks"
>                                        disabled="#{VDBean.modoEdicion ==
> false}" onchange="call some javascript code" >
>
>                                        <*a4j:support* event="onchange"
> status="statustablaSubtipoVisita"
>
> actionListener="#{VDBean.select}"
>                                                     reRender="checks,
> tablaActividadesVisita" >
>                                                    * <a4j:actionparam
> assignTo="#{VDBean.foo}" value="true" id="foo" />*
>
>
>                                        </a4j:support>
>                                    </h:selectBooleanCheckbox>
>                                </a4j:region>
>
> In the VDBean I have a String foo variable with the get and set methods but
> when access the foo variable in the VDBean (scope: session) select method it
> has the initial value "false". Why the actionParam do not set the foo
> variable value??
>
> Can anyone help me?
>
> Thanks
>

Reply via email to