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="Account" showHeader="true" sidebar="false" id="page"> | |
<apex:include pageName="RemoteObjectsCreateRemote" /> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:commandButton value="Create" onclick="return createAccount();" /> | |
</apex:form> | |
</div> | |
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="Account" showHeader="true" sidebar="false" id="page"> | |
<apex:include pageName="RemoteObjectsDeleteRemote" /> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:commandButton value="Delete" onclick="return deleteAccount('{!Account.Id}');" /> | |
</apex:form> | |
</div> | |
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="Account" showHeader="true" sidebar="false" id="page"> | |
<apex:include pageName="RemoteObjectsUpdateRemote" /> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:inputText value="{!Account.Name}" id="accountName"/> | |
<apex:commandButton value="Update" onclick="return updateAccount('{!Account.Id}', '{!$Component.accountName}');" /> | |
</apex:form> | |
</div> |
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="Account" showHeader="true" sidebar="false" id="page"> | |
<apex:include pageName="RemoteObjectsUpsertRemote" /> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:inputText value="{!Account.Name}" id="accountName"/> | |
<apex:commandButton value="Upsert" onclick="return upsertAccount('{!Account.Id}', '{!$Component.accountName}');" /> | |
</apex:form> | |
</div> |
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 static Date getMonthOfStartDay(Date prmDate) { | |
return prmDate != null ? Date.newInstance(prmDate.year(), prmDate.month(), 1) : null; | |
} | |
/** | |
* 月末日付取得 | |
*/ |
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="selectCheckboxesCon" id="page"> | |
<apex:form id="form"> | |
<apex:selectCheckboxes value="{!countries}" id="checkBoxes"> | |
<apex:selectOptions value="{!items}"/> | |
</apex:selectCheckboxes><br/> | |
<apex:commandButton value="Apex Check!!" action="{!doApexCheck}" reRender="form" /> | |
<apex:commandButton value="JavaScript Check!!" onclick="return allChecked();" /> | |
</apex:form> | |
<script type="text/javascript"> | |
function allChecked() { |
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="Account" recordSetVar="accounts" id="page"> | |
<style> | |
.customTable tr.dataRow.highlight td { | |
background-color: red !important; | |
} | |
</style> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:pageBlock id="block"> | |
<apex:pageBlockSection columns="1" id="blockSection"> |
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="LoginHistoryViewController" sidebar="false" id="page"> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:pageBlock title="{!$ObjectType.LoginHistory.Label}" id="block"> | |
<apex:outputText value="Last Login Time : {!LoginTime}" /> | |
<apex:pageBlockTable value="{!loginHistories}" var="item" id="blockTable"> | |
<apex:column style="width: 15px;"> | |
<apex:outputText value="-" /> | |
</apex:column> | |
<apex:column headerValue="{!$ObjectType.LoginHistory.Fields.Id.Label}"> |
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="RecentlyViewedViewController" showHeader="true" sidebar="false" id="page"> | |
<div id="vf-page"> | |
<apex:form id="form"> | |
<apex:pageBlock title="{!$ObjectType.RecentlyViewed.Label}" id="block"> | |
<apex:pageBlockTable value="{!recentlyVieweds}" var="item" id="blockTable"> | |
<apex:column headerValue="{!$ObjectType.RecentlyViewed.Fields.Id.Label}"> | |
<apex:outputField value="{!item.Id}" /> | |
</apex:column> | |
<apex:column headerValue="{!$ObjectType.RecentlyViewed.Fields.Name.Label}"> | |
<apex:outputField value="{!item.Name}" /> |