Skip to content

Instantly share code, notes, and snippets.

@adrianmi8
Created April 14, 2016 11:37
Show Gist options
  • Save adrianmi8/706c21b36f2aa6da34d7021772baf354 to your computer and use it in GitHub Desktop.
Save adrianmi8/706c21b36f2aa6da34d7021772baf354 to your computer and use it in GitHub Desktop.
UPS - mass ship to contacts
<apex:page standardController="Contact" extensions="NewUPSShipmentsContactCtrl"
recordSetVar="Contact" action="{! processBulkShipment }">
<apex:form >
<apex:outputPanel id="blockId">
<apex:pageMessages escape="false"/>
<apex:image url="{! URLFOR($Resource.Spinner) }" rendered="{! startPoller }"/>
<apex:outputLink value="/003" rendered="{! NOT(startPoller) }">Back to Contacts</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