Skip to content

Instantly share code, notes, and snippets.

@adrianmi8
Created April 14, 2016 11:34
Show Gist options
  • Save adrianmi8/7ec57525a69de0014accf9d16c76716a to your computer and use it in GitHub Desktop.
Save adrianmi8/7ec57525a69de0014accf9d16c76716a to your computer and use it in GitHub Desktop.
Mass Ship to Contacts - VisualForce
<apex:page standardController="Contact" extensions="NewShipmentsContactsController"
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