Skip to content

Commit 8dc370e

Browse files
committed
looks good
1 parent 5953d0f commit 8dc370e

File tree

5 files changed

+341
-316
lines changed

5 files changed

+341
-316
lines changed

demo/testcode.css

Lines changed: 7 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/testcode.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,23 @@
3131
LIMIT 10];
3232

3333
List<Opportunity> opps = [SELECT Id FROM Opportunity WHERE Id NOT IN :newRecordsMap.keySet()];
34+
35+
String queryText =
36+
'SELECT Id, Name, AccountId, FirstName, LastName, mailingstreet, mailingcity, mailingstate, mailingpostalcode, mailingcountry, ' +
37+
'otherstreet, othercity, otherstate, otherpostalcode, othercountry, mailinglatitude, mailinglongitude, otherlatitude, otherlongitude ' +
38+
'FROM Contact WHERE AccountId = :acctid ORDER BY ' +
39+
String.escapeSingleQuotes(SortFullExp) +
40+
' NULLS LAST LIMIT 1000';
41+
String queryText = 'SELECT Id, Name, AccountId, FirstName, LastName, mailingstreet, mailingcity, mailingstate, mailingpostalcode, mailingcountry, '
3442
</code></pre>
3543
<p>-------NEW LANGUAGE----------</p>
3644
<pre><code>
3745
@IsTest
3846
private without sharing class myTestClass {
3947
myMap?.get('Id');
4048
}
49+
System.URL.getCurrentRequestUrl();
50+
System.getCurrentRequestUrl();
4151
</code></pre>
4252
<p>-------NEW LANGUAGE----------</p>
4353
<pre><code class="language-apex">
@@ -46,6 +56,8 @@
4656
delete myAccount;
4757
delete [SELECT Id FROM Account];
4858

59+
public String myString { get; set; }
60+
4961
/*
5062
Copyright (c) 2022, salesforce.com, inc.
5163
All rights reserved.
@@ -103,14 +115,6 @@
103115

104116
String retURL = '/' + ActionPlansUtilities.getObjectKeyPrefix(ActionPlansUtilities.namespacePrefix + 'ActionPlan__c') + '/o';
105117

106-
String hasTemplateIdParam = ApexPages.currentPage().getParameters().containsKey('templateId');
107-
Boolean hasRetURLParam = ApexPages.currentPage().getParameters().containsKey('retURL');
108-
109-
if (hasTemplateIdParam && true) {
110-
retURL = '/' + ActionPlansUtilities.getEscapedPageParameter('templateId');
111-
} else if (hasRetURLParam && !ActionPlansUtilities.getIsLex()) {
112-
retURL = '' + ActionPlansUtilities.getEscapedPageParameter('retURL');
113-
}
114118
Pagereference newPage = new PageReference('' + retURL);
115119
newPage.setRedirect(true);
116120

0 commit comments

Comments
 (0)