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
System.debug('cli rocks'); |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>IIDS: Multipage Boilerplate: Page 2</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
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" standardController="Rig__c" extensions="RigController"> | |
<apex:stylesheet value="{!URLFOR($Resource.iids, 'iids-min/css/iids.css')}"/> | |
<apex:stylesheet value="{!URLFOR($Resource.iids, 'iids-min/css/responsive.css')}"/> | |
<script type="text/javascript"> | |
Visualforce.remoting.timeout = 120000; // Set timeout at page level | |
var j$ = jQuery.noConflict(); | |
function saveRig() { |
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 RigController { | |
public RigController(ApexPages.StandardController controller) { } | |
@RemoteAction | |
public static String saveRig(String rigtype, String projectdetails, String discussion) { | |
String status = ''; | |
Rig__c rig = new Rig__c(); |
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
/** | |
* Example of using JSON serialization to pass complex objects to @future handlers in Apex | |
* $author: [email protected] | |
*/ | |
public with sharing class AddressFuture { | |
public AddressFuture () { | |
List<String> addresses = new List<String>(); | |
AddressHelper ah1 = new AddressHelper('1 here st', 'San Francisco', 'CA', '94105'); |
NewerOlder