Sorry for the misunderstanding I thought you ment to use partialTrigger.

For periodicalUpdate what you want is unfortunatly not supported yet.
We would have to detect on the server side if two pprPanelGroups
have the same periodical update time and act accordingly ...

As a workaround you could specify partialTriggers to a commandButton
with no action and style="display:none" and write a small javascript-function
which clicks this button every 5 seconds. This way you have only one
AJAX request every 5 seconds.

hope that helps

cheers

Ernst

On 8/21/08, Guy Bashan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Sorry to bug on this issue, but I am trying to understand it correctly. What
> do you mean by: "trigger on the same input-element"? There are no input
> elements here. Just 2 PPR regions triggered in "periodicalUpdate" mode.
>
> For example:
> <s:pprPanelGroup id="region1"
> periodicalUpdate="5000">.....</s:pprPanelGroup>
> <s:pprPanelGroup id="region2"
> periodicalUpdate="5000">.....</s:pprPanelGroup>
>
> Thanks,
> Guy.
>
> -----Original Message-----
> From: Ernst Fastl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 21, 2008 10:14 PM
> To: MyFaces Discussion
> Subject: Re: [MyFaces][Tomahwak][Sandbox]
>
> Yes, if two different pprPanelGroups trigger on the same input-element
> both of them are refreshed with one AJAX request.
>
> On 8/21/08, Guy Bashan <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>>
>>
>> I think I have already asked this question, but got no replay:
>>
>> Is there a way autorefreshing 2 differen regions using PPR in a single
>> request (rather than 2.)
>>
>>
>>
>> Thanks,
>>
>> Guy.
>>
>>
>
>

Reply via email to