Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adrianmi8/7d7dd732eb97a8f76f5b788e2fa91e61 to your computer and use it in GitHub Desktop.
Save adrianmi8/7d7dd732eb97a8f76f5b788e2fa91e61 to your computer and use it in GitHub Desktop.
One Click Case Label Generation - Visualforce page
<apex:page standardController="Case" extensions="NewShipmentCaseController" action="{! processBulkShipment }">
<apex:form >
<apex:outputPanel id="blockId">
<apex:pageMessages escape="false"/>
<apex:image url="{! URLFOR($Resource.Spinner) }" rendered="{! startPoller }"/>
<apex:outputLink value="/{! caseId }" rendered="{! NOT(startPoller) }">Back to Case</apex:outputLink>
<apex:actionPoller action="{! checkBatchStatus }" reRender="blockId" interval="5"
enabled="{!startPoller}"/>
</apex:outputPanel>
</apex:form>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment