Matthias - thanks for the response.

We tried addPartialTarget on the table component itself - i.e. on the action 
method which deletes the object we tried calling addPartialTarget() on the 
table. Unfortunately, that didn't help.

We also tried adding a return listener on the commandButton which launched the 
dialog (which contains a commandButton that subsequently deletes the object) 
and then calling addPartialTarget from the return listener. However, it looks 
like the same issue causes the return listener not to be called - i.e. if the 
action results in its commandButton disappearing then the return listener is 
not triggered.

I've just tried addPartialTarget on the document and the UIViewRoot and no joy 
I'm afraid.

Any other pointers (or a fix!) would be really appreciated...

thanks
Paul.

 



________________________________
From: Matthias Wessendorf <mat...@apache.org>
To: MyFaces Discussion <users@myfaces.apache.org>
Sent: Tuesday, April 21, 2009 12:53:16 PM
Subject: Re: [Trinidad] TRINIDAD-779 PPR not triggered when deleting last row 
from table

On Tue, Apr 21, 2009 at 1:53 PM, Matthias Wessendorf <mat...@apache.org> wrote:
> On Tue, Apr 21, 2009 at 1:31 PM, Paul Freeman <pfreeman...@yahoo.com> wrote:
>> Hi all,
>>
>> We're about to go production on our web site within the next month, but
>> we're hitting a number of issues caused by the above bug. We see it not only
>> on deleting rows from a table but also when updating certain tables -
>> basically, PPR does not occur after any action which causes the source
>> command link/button to disappear. This is a real showstopper for us.
>
> have you tried addPartialTarget() ?
> e.g. the component that contains the table ?
> (or even UIViewRoot) ?
or the Document component ?
>
> -Matthias
>
>>
>> Is there any chance any of the Trinidad gurus could look into this?
>>
>> thanks
>> Paul.
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare..net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress..com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf



      

Reply via email to