You need to sign in to do that
Don't have an account?
samrat.1985@lntinfotech
Can i auto refresh a pageBlock after specific time interval
Hi
Does any one have any idea about this.
I want to refresh/ reload my pageblock after regular interval. To get the new data/record form the WSDL.
Pleae revert back in case you can help or you need clarifications in this
You can refresh elements on a visualforce page using an actionpoller component and specifying the element id in the rerender attribute.
The following is a straight lift from the VisualForce Developer's Guide:
All Answers
You can refresh elements on a visualforce page using an actionpoller component and specifying the element id in the rerender attribute.
The following is a straight lift from the VisualForce Developer's Guide:
Use HTML META tag to refresh the page in specified time interval. Follow page refresh every 5 second.
-Suresh
Thanks bob and SSRS.
It really helped.
Bob this is exactly that i was looking for.
I tried it but missed the vital part of using the Pagereference class
For the purposes of better understanding this component, can anyone briefly explain why it's necessary for the controller method that's called by the actionpoller to have a return type of PageReference and a return value of 'null'?
Thanks!
B
For a controller method to be called by an actionpoller (or a commandlink, commandbutton, actionfunction) it needs to be an action method. An action method has a signature of public, with no parameters and a return type of PageReference or void. If the method has a return type of PageReference but returns null, that will simply refresh the current page with the updated viewstate.