Skip to content

Instantly share code, notes, and snippets.

@adrianmi8
Created April 14, 2016 11:39
Show Gist options
  • Save adrianmi8/76ee3c55b2a914b79084c144f996266a to your computer and use it in GitHub Desktop.
Save adrianmi8/76ee3c55b2a914b79084c144f996266a to your computer and use it in GitHub Desktop.
UPS - create from case
<apex:page standardController="Case" extensions="NewUPSShipmentCaseController" 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