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
/* PRE - model declaration on vf page | |
<apex:remoteObjects> | |
<apex:remoteObjectModel name="Account" fields="Id,Name" /> | |
</apex:remoteObjects> | |
*/ | |
/* INSTANCE */ | |
// 1. W/o default properties | |
var acc = new SObjectModel.Account(); |
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
@isTest(SeeAllData= true) | |
private class CaseCommentHelperTest { | |
static testMethod void CaseCommentValid() { | |
//Create a Case Team role | |
CaseTeamRole CTR = new CaseTeamRole(); | |
CTR.AccessLevel='Edit'; | |
CTR.Name='Test Case Team Role'; | |
CTR.PreferencesVisibleInCSP=true; |
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:outputpanel> | |
<apex:actionstatus id="status"> | |
<apex:facet name="start"> | |
<div class="waitingSearchDiv" id="el_loading" style="background-color: #fbfbfb; | |
height: 100%;opacity:0.65;width:100%;"> | |
<div class="waitingHolder" style="top: 74.2px; width: 91px;"> | |
<img class="waitingImage" src="/img/loading.gif" title="Please Wait..." /> | |
<span class="waitingDescription">Please Wait...</span> | |
</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 docType="html-5.0" | |
showHeader="false" sidebar="false" | |
standardController="Account"> | |
<!--c:RemoteTK /--> | |
<apex:stylesheet value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'jquery.mobile-1.3.0.min.css')}"/> | |
<apex:includeScript value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'jquery-1.9.1.min.js')}"/> | |
<apex:includeScript value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'jquery.mobile-1.3.0.min.js')}"/> | |
<apex:includeScript value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'ForceTk.js')}"/> | |
<head> | |
<title>Accounts</title> |
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 docType="html-5.0" | |
showHeader="false" sidebar="false" | |
standardController="Account"> | |
<!--c:RemoteTK /--> | |
<apex:stylesheet value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'jquery.mobile-1.3.0.min.css')}"/> | |
<apex:includeScript value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'jquery-1.9.1.min.js')}"/> | |
<apex:includeScript value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'jquery.mobile-1.3.0.min.js')}"/> | |
<apex:includeScript value="{!URLFOR($Resource.MobileSample_Resources_jQueryMobile, 'ForceTk.js')}"/> | |
<head> | |
<title>Accounts</title> |
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"> | |
<apex:pageBlock title="Hello {!$User.FirstName}!"> | |
You are viewing the {!account.name} account. | |
</apex:pageBlock> | |
<apex:pageBlock title="Contacts"> | |
<apex:pageBlockTable value="{!account.Contacts}" var="contact"> | |
<apex:column value="{!contact.Name}"/> | |
<apex:column value="{!contact.Email}"/> | |
<apex:column value="{!contact.Phone}"/> | |
</apex:pageBlockTable> |
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"> | |
<apex:pageBlock title="Hello {!$User.FirstName}!"> | |
You are viewing the {!account.name} account. | |
</apex:pageBlock> | |
<apex:pageBlock title="Contacts"> | |
<apex:pageBlockTable value="{!account.Contacts}" var="contact"> | |
<apex:column value="{!contact.Name}"/> | |
<apex:column value="{!contact.Email}"/> | |
<apex:column value="{!contact.Phone}"/> | |
</apex:pageBlockTable> |
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"> | |
<apex:pageBlock title="Hello {!$User.FirstName}!"> | |
You are viewing the {!account.name} account. | |
</apex:pageBlock> | |
<apex:pageBlock title="Contacts"> | |
<apex:pageBlockTable value="{!account.Contacts}" var="contact"> | |
<apex:column value="{!contact.Name}"/> | |
<apex:column value="{!contact.Email}"/> | |
<apex:column value="{!contact.Phone}"/> | |
</apex:pageBlockTable> |
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"> | |
<apex:pageBlock title="Hello {!$User.FirstName}!"> | |
You are viewing the {!account.name} account. | |
</apex:pageBlock> | |
<apex:pageBlock title="Contacts"> | |
<apex:pageBlockTable value="{!account.Contacts}" var="contact"> | |
<apex:column value="{!contact.Name}"/> | |
<apex:column value="{!contact.Email}"/> | |
<apex:column value="{!contact.Phone}"/> | |
</apex:pageBlockTable> |
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"> | |
<apex:pageBlock title="Hello {!$User.FirstName}!"> | |
You are viewing the {!account.name} account. | |
</apex:pageBlock> | |
<apex:pageBlock title="Contacts"> | |
<apex:pageBlockTable value="{!account.Contacts}" var="contact"> | |
<apex:column value="{!contact.Name}"/> | |
<apex:column value="{!contact.Email}"/> | |
<apex:column value="{!contact.Phone}"/> | |
</apex:pageBlockTable> |
NewerOlder