Matthias Wessendorf wrote:
- what about the partialSubmit attribute of potential triggers: must it
be set on all candidates, in spite of missing any target ? Does it have
any side effect if the target is missing ?
    

I think I don't understand.
partialSubmit must be true to cause PPR.
you can update ANY JSF UIComponent, with the addPartialTarget()

if the the passed in comp is NULL, you get a NPE

-M
  
To clarify: I need to decouple triggers from the result of their action. Thus in general, almost all my buttons/links should have partialSubmit=true, no matter if there is any target to PPR or not. I wasn't sure about this strategy having side effects or not, but it seems it doesn't harm.
Then PPR targets are provided either statically (by means of partialTriggers=...) or dynamically, through addPartialTarget().

-- Renzo


Reply via email to