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 class MyHelloWorld { | |
system.debug('Hello World!!'); | |
} |
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"> | |
<div class="primaryPalette" style="width:200px; height:200px;"> | |
</div> | |
</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" title="QuickTour"> | |
<apex:includeScript value="{!URLFOR($Resource.intro, 'intro/intro.js')}" /> | |
<apex:stylesheet value="{!URLFOR($Resource.intro, 'intro/intro.css')}" /> | |
<style> | |
#quicktour { | |
background: url("/img/alohaSkin/help_orange.png") no-repeat scroll 100% 0 rgba(0, 0, 0, 0); | |
text-align: right; | |
height: 16px; | |
margin-bottom: -30px; | |
padding-right: 21px; |
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 class HelpGetLangCon { | |
public String Lang {get; set; } | |
public HelpGetLangCon() { | |
User myUser = [SELECT LanguageLocaleKey FROM User WHERE id = :UserInfo.getUserId()]; | |
Lang = myUser.LanguageLocaleKey; | |
} | |
} |
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="HelpGetLangCon" showheader="false" sidebar="false" action="{!URLFOR($Resource.Help, Lang + '/Account.htm')}" > | |
</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')}" /> |
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
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 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
<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';" /> |
OlderNewer