Created
July 7, 2014 09:30
-
-
Save junojisan/db90edfbe2fd59d8a1e1 to your computer and use it in GitHub Desktop.
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 showHeader="false" sidebar="false" controller="OAuthCallbackController"> | |
<apex:pageBlock title="SalesforceだけでOAuthを試してみる"> | |
<apex:pageMessages /> | |
<apex:outputLabel value="Result:" /> | |
<br/> | |
<textarea rows="10" cols="100">{!resBody}</textarea> | |
</apex:pageBlock> | |
<apex:form id="fm"> | |
<apex:outputPanel rendered="{!NOT(ISNULL(resBody))}"> | |
<apex:pageBlock > | |
<apex:commandButton action="{!getAccounts}" value="取引先を取得" reRender="fm" /> | |
<apex:pageBlockTable id="pbtAccounts" | |
value="{!accounts}" var="acc" rendered="{!NOT(ISNULL(accounts))}"> | |
<apex:column value="{!acc.Id}" /> | |
<apex:column value="{!acc.Name}" /> | |
</apex:pageBlockTable> | |
</apex:pageBlock> | |
</apex:outputPanel> | |
</apex:form> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment