This file contains hidden or 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 docType="html-5.0" standardStylesheets="false" showheader="false" sidebar="false"> | |
<head> | |
<apex:stylesheet value="{!URLFOR( $Resource.oneIcon, 'oneIcon/style.css' )}" /> | |
<style> | |
.icon-utility-call { | |
font-size: 100px; | |
text-decoration: none; | |
} | |
</style> | |
</head> |
This file contains hidden or 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" docType="html-5.0" standardStylesheets="false" showheader="false" sidebar="false"> | |
<head> | |
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/css/bootstrap.min.css"></link> | |
</head> | |
<body> | |
<h1>{!Account.Name}</h1> | |
<button class="btn btn-large btn-primary" type="button" onClick="sforce.one.createRecord('Account');">新規</button> | |
<button class="btn btn-large btn-primary" type="button" onClick="sforce.one.editRecord('{!Account.Id}');">編集</button> | |
<button class="btn btn-large btn-primary" type="button" onClick="sforce.one.navigateToSObject('{!Account.Id}');">参照</button> | |
</body> |
This file contains hidden or 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"> | |
<style> | |
body { | |
background: url("/img/alohaSkin/lookup_bg.png") repeat-x scroll 0 0 #FFFFFF; | |
padding: 0; | |
margin: 0 10px; | |
} | |
.pageTitleIcon { | |
background-image: url("/img/sprites/master.png"); | |
background-position: 0 -1202px; |
This file contains hidden or 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="LoadingSampleCon" sidebar="false"> | |
<apex:form> | |
<apex:pageBlock title="検索結果" id="searchResult"> | |
<apex:pageBlockButtons location="top"> | |
<apex:commandButton value="検索" action="{!search}" id="searchButton" onclick="doSearch();" rerender="searchResult" /> | |
<apex:actionFunction name="doSearch" status="loading" action="{!search}" rerender="searchResult" /> | |
<apex:actionStatus id="loading"> | |
<apex:facet name="start"> | |
<apex:image url="/img/loading.gif" style="margin-left:1em;" /> | |
</apex:facet> |
This file contains hidden or 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 without sharing class LoadingSampleCon { | |
public List<Account> AccountList {get; set;} | |
public LoadingSampleCon() { | |
AccountList = new List<Account>(); | |
} | |
public void search() { | |
AccountList = [SELECT Id, Name FROM Account LIMIT 1000]; | |
} | |
} |
This file contains hidden or 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> | |
<apex:form > | |
<apex:pageBlock> | |
<apex:pageBlockSection > | |
<apex:pageBlockSectionItem > | |
<apex:outputLabel value="{!$ObjectType.Account.Fields.Name.label}" /> | |
<apex:outputPanel > | |
<apex:inputText /> | |
<apex:commandLink> | |
<apex:image url="/s.gif" styleClass="lookupIcon" onmouseout="this.className='lookupIcon';" onmouseover="this.className='lookupIconOn';" /> |
This file contains hidden or 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="MessageSampleCon"> | |
<apex:form > | |
<apex:commandButton value="メッセージ表示" action="{!addmsg}" /> | |
</apex:form> | |
<apex:pageMessages showDetail="true" /> | |
</apex:page> |
This file contains hidden or 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 with sharing class MessageSampleCon { | |
public PageReference addmsg() { | |
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.CONFIRM, '保存しました。')); | |
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.INFO, '検索結果は0件です。')); | |
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.WARNING, '以前に保存されたデータは削除されてしまいます。よろしいですか?')); | |
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR, '半角英数で入力してください。')); | |
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.FATAL, '処理を中断しました。システム管理者に連絡してください。', 'ErrorCode:NullPointerException, id=001E000000VP94w')); | |
return null; | |
} | |
} |
This file contains hidden or 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> | |
<apex:pageMessage severity="CONFIRM" strength="2" summary="保存しました。" /> | |
<apex:pageMessage severity="INFO" strength="2" summary="検索結果は0件です。"/> | |
<apex:pageMessage severity="WARNING" strength="2" summary="以前に保存されたデータは削除されてしまいます。よろしいですか?" /> | |
<apex:pageMessage severity="ERROR" strength="2" summary="半角英数で入力してください。" /> | |
<apex:pageMessage severity="FATAL" strength="2" summary="処理を中断しました。システム管理者に連絡してください。" detail="ErrorCode:NullPointerException, id=001E000000VP94w" /> | |
</apex:page> |
This file contains hidden or 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"> | |
<apex:includeScript value="{!URLFOR($Resource.AutoComplete, 'jquery-1.9.1.js')}" /> | |
<apex:includeScript value="{!URLFOR($Resource.AutoComplete, 'jquery.ui.core.js')}" /> | |
<apex:includeScript value="{!URLFOR($Resource.AutoComplete, 'jquery.ui.widget.js')}" /> | |
<apex:includeScript value="{!URLFOR($Resource.AutoComplete, 'jquery.ui.position.js')}" /> | |
<apex:includeScript value="{!URLFOR($Resource.AutoComplete, 'jquery.ui.menu.js')}" /> | |
<apex:includeScript value="{!URLFOR($Resource.AutoComplete, 'jquery.ui.autocomplete.js')}" /> | |
<apex:stylesheet value="{!URLFOR($Resource.AutoComplete, 'jquery-ui.css')}" /> |
NewerOlder