Skip to content

Commit

Permalink
looks good
Browse files Browse the repository at this point in the history
  • Loading branch information
dschach committed Oct 24, 2023
1 parent 5953d0f commit 8dc370e
Show file tree
Hide file tree
Showing 5 changed files with 341 additions and 316 deletions.
81 changes: 7 additions & 74 deletions demo/testcode.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions demo/testcode.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,23 @@
LIMIT 10];

List<Opportunity> opps = [SELECT Id FROM Opportunity WHERE Id NOT IN :newRecordsMap.keySet()];

String queryText =
'SELECT Id, Name, AccountId, FirstName, LastName, mailingstreet, mailingcity, mailingstate, mailingpostalcode, mailingcountry, ' +
'otherstreet, othercity, otherstate, otherpostalcode, othercountry, mailinglatitude, mailinglongitude, otherlatitude, otherlongitude ' +
'FROM Contact WHERE AccountId = :acctid ORDER BY ' +
String.escapeSingleQuotes(SortFullExp) +
' NULLS LAST LIMIT 1000';
String queryText = 'SELECT Id, Name, AccountId, FirstName, LastName, mailingstreet, mailingcity, mailingstate, mailingpostalcode, mailingcountry, '
</code></pre>
<p>-------NEW LANGUAGE----------</p>
<pre><code>
@IsTest
private without sharing class myTestClass {
myMap?.get('Id');
}
System.URL.getCurrentRequestUrl();
System.getCurrentRequestUrl();
</code></pre>
<p>-------NEW LANGUAGE----------</p>
<pre><code class="language-apex">
Expand All @@ -46,6 +56,8 @@
delete myAccount;
delete [SELECT Id FROM Account];

public String myString { get; set; }

/*
Copyright (c) 2022, salesforce.com, inc.
All rights reserved.
Expand Down Expand Up @@ -103,14 +115,6 @@

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

String hasTemplateIdParam = ApexPages.currentPage().getParameters().containsKey('templateId');
Boolean hasRetURLParam = ApexPages.currentPage().getParameters().containsKey('retURL');

if (hasTemplateIdParam && true) {
retURL = '/' + ActionPlansUtilities.getEscapedPageParameter('templateId');
} else if (hasRetURLParam && !ActionPlansUtilities.getIsLex()) {
retURL = '' + ActionPlansUtilities.getEscapedPageParameter('retURL');
}
Pagereference newPage = new PageReference('' + retURL);
newPage.setRedirect(true);

Expand Down
Loading

0 comments on commit 8dc370e

Please sign in to comment.