On 10/16/13 11:37, frasese wrote:
> 
> there is a way to update the status of multiple elements with a single ajax
> behaviour?
> 
> For example, if we have two different DropDownChoice elements, each one with
> its own AjaxFormComponentUpdatingBehavior... when the "onchange" event is
> triggered, one has his value updated, but not the other one.
> 
> So, my question is, how to update both? For example, update both with a
> button, onclick..

You need to target.add(otherComponent) in your
UpdatingBehavior.onUpdate(target), maybe also in onError.

HTH,
        Joachim

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod, Roedermark, Germany
Email: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to