This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SchedulableDemo implements Schedulable{ | |
public Integer counter; | |
public void execute(SchedulableContext sc) { | |
if (counter == null) { | |
counter = 1; | |
} else { | |
counter ++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page controller="SuperDuperSettingController"> | |
<apex:pageMessages /> | |
<apex:form > | |
<apex:pageBlock > | |
<apex:pageBlockSection > | |
<apex:pageBlockSectionItem > | |
<apex:outputLabel >Name</apex:outputLabel> | |
<apex:inputText value="{!setting.Name}"/> | |
</apex:pageBlockSectionItem> | |
<apex:pageBlockSectionItem > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="Opportunity" | |
extensions="OpportunityNewDispatcherController" | |
action="{!redirect}"> | |
</apex:page> |
NewerOlder