On Jan 30, 2008 12:28 PM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:
>
>  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.

yeah, as said partialSubmit=true means ppr;
the targets you can find on the fly

-M

>  Then PPR targets are provided either statically (by means of
> partialTriggers=...) or dynamically, through addPartialTarget().
>
>  -- Renzo
>
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to