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 DescribeController { | |
public Graph theGraph { get; set; } | |
public List<SelectOption> nodeOptions { get; set; } | |
public String sourceNodeStr { get; set; } | |
public String destNodeStr { get; set; } | |
public transient List<GraphPath> paths { get; set; } | |
public transient String json { get; set; } |
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="jTableAccountsController"> | |
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css" /> | |
<link href="{!URLFOR($Resource.jtable, 'jtable/themes/jqueryui/jtable_jqueryui.min.css')}" rel="stylesheet" type="text/css" /> | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/> | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"/> | |
<apex:includeScript value="{!URLFOR($Resource.jtable, 'jtable/jquery.jtable.min.js')}"/> |
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 JoinController { | |
// The from and through dates are hard-coded for simplicity's sake. | |
// Should change to parameters or input or something else. | |
public String getPageViewsJson() { | |
List<Page_View_Summary__c> pvs = [ | |
SELECT Date__c, Number_of_Views__c | |
FROM Page_View_Summary__c | |
WHERE Date__c >= 2014-04-01 | |
AND Date__c <= 2014-04-30 |
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 > | |
<!-- download the jstree from jstree.com and upload the dist directory as a static resource --> | |
<link href="{!URLFOR($Resource.jsTree, 'themes/default/style.min.css')}" rel="stylesheet" /> | |
<script src="{!URLFOR($Resource.jsTree, 'libs/jquery.js')}"></script> | |
<script src="{!URLFOR($Resource.jsTree, 'jstree.min.js')}"></script> | |
<script src="{!URLFOR($Resource.jsTree, 'jstree.min.js')}"></script> | |
<!-- | |
Change the remoteObjectModel name="Account and |
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 > | |
<!-- download the jstree from jstree.com and upload the dist directory as a static resource --> | |
<link href="{!URLFOR($Resource.jsTree, 'themes/default/style.min.css')}" rel="stylesheet" /> | |
<script src="{!URLFOR($Resource.jsTree, 'libs/jquery.js')}"></script> | |
<script src="{!URLFOR($Resource.jsTree, 'jstree.min.js')}"></script> | |
<script src="{!URLFOR($Resource.jsTree, 'jstree.min.js')}"></script> | |
<!-- | |
Change the remoteObjectModel name="Account and |
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 JoinController { | |
// The from and through dates are hard-coded for simplicity's sake. | |
// Should change to parameters or input or something else. | |
public String getPageViewsJson() { | |
List<Page_View_Summary__c> pvs = [ | |
SELECT Date__c, Number_of_Views__c | |
FROM Page_View_Summary__c | |
WHERE Date__c >= 2014-04-01 | |
AND Date__c <= 2014-04-30 |
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="jTableAccountsController"> | |
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css" /> | |
<link href="{!URLFOR($Resource.jtable, 'jtable/themes/jqueryui/jtable_jqueryui.min.css')}" rel="stylesheet" type="text/css" /> | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/> | |
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"/> | |
<apex:includeScript value="{!URLFOR($Resource.jtable, 'jtable/jquery.jtable.min.js')}"/> |
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 AnalyticsController{ | |
public List<SelectOption> availableReports { get; set; } | |
public Id reportId { get; set; } | |
public Map<String, List<SelectOption>> availableDataTypeFilterOperators { get; set; } | |
public List<ColumnFilter> availableColumnFilters { get; set; } | |
public AnalyticsController() { | |
availableReports = retrieveAvailableReports(); | |
availableDataTypeFilterOperators = retrieveAvailableDataTypeFilterOperators(); |
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:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/> | |
<apex:includeScript value="https://rawgithub.com/BorisMoore/jsrender/master/jsrender.min.js"/> | |
<apex:remoteObjects > | |
<!--Name the field you like to query--> | |
<apex:remoteObjectModel name="Contact" jsShorthand="con" fields="Id,Name,FirstName,LastName,Phone,Email"/> | |
</apex:remoteObjects> | |
<script> | |
//function to invoke the retreive call to query records |
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="CustomerCommunityController" id="customercommunitycontroller" sidebar="false" showHeader="false" standardStylesheets="false" > | |
<head> | |
<title>Acme Customer Support</title> | |
<meta charset="utf-8" /> | |
<apex:includeScript value="{!$Resource.jquery}"/> | |
</head> | |
<script type="text/javascript"> | |
OlderNewer