function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
This is an example taken from the Visualforce Developer's Guide with a few attribute added:
<apex:page controller="exampleCon"> <apex:form> <apex:outputText value="Watch this counter: {!count}" id="counter"/> <apex:actionStatus startText=" (incrementing...)" stopText=" (done)" id="counterStatus"/> <apex:actionPoller action="{!incrementCounter}" rerender="counter" interval="5" id="poller" enabled="true" status="counterStatus" timeout="500" oncomplete="alert('Action is complete');" onsubmit="alert('Acton is submit');"/> </apex:form> </apex:page>
- if the action, incrementCounter, takes longer than 500ms, a timeout would occur.
- before the action is called, you would receive an alert with the text 'Action is submit'
- when the action is complete, you would receive an alert with the test 'Action is complete'
Hope this helps.
This is an example taken from the Visualforce Developer's Guide with a few attribute added:
<apex:page controller="exampleCon"> <apex:form> <apex:outputText value="Watch this counter: {!count}" id="counter"/> <apex:actionStatus startText=" (incrementing...)" stopText=" (done)" id="counterStatus"/> <apex:actionPoller action="{!incrementCounter}" rerender="counter" interval="5" id="poller" enabled="true" status="counterStatus" timeout="500" oncomplete="alert('Action is complete');" onsubmit="alert('Acton is submit');"/> </apex:form> </apex:page>
- if the action, incrementCounter, takes longer than 500ms, a timeout would occur.
- before the action is called, you would receive an alert with the text 'Action is submit'
- when the action is complete, you would receive an alert with the test 'Action is complete'
Hope this helps.