function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
christwin123christwin123 

Refreshing a particular section of a VF page using an Action Pollar

Hi,

 

I am using an Action pollar to trigger a function. I also want a particular portion of my VF page to get refreshed everytime the Action pollar triggers the function in the interval specified in the component.  

 

Could someone please help me with this requirement.

 

Thanks in Advance,

 

Regards,

Christwin

souvik9086souvik9086

See this

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionPoller.htm

 

A timer that sends an AJAX request to the server according to a time interval that you specify. Each request can result in a full or partial page update.

 

As per eg there

 

<apex:outputText value="Watch this counter: {!count}" id="counter"/>
<apex:actionPoller action="{!incrementCounter}" reRender="counter" interval="15"/>

Only the portion of the outputtext will be refreshing through the poller.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks