public String getFileName() {
String fileName = '标准公有云及混托产品报价单';
return EncodingUtil.urlEncode(fileName, 'utf-8') + '.xls';
}contentType="txt/xml#{!fileName}"public String getFileName() {
String fileName = '标准公有云及混托产品报价单';
return EncodingUtil.urlEncode(fileName, 'utf-8') + '.xls';
}contentType="txt/xml#{!fileName}"| public with sharing class UpdatePicklistDependency { | |
| // A1 is the dependent value, A is the controlling value | |
| // which means A1 is controller by A, 1 => Many | |
| private static Map<String, List<String>> relationships = new Map<String, List<String>> { | |
| 'A1' => new List<String>{'A'}, | |
| 'A2' => new List<String>{'A'}, | |
| 'B1' => new List<String>{'B'}, | |
| 'B2' => new List<String>{'B'}, | |
| 'C1' => new List<String>{'C'}, | |
| 'C2' => new List<String>{'C'}, |
| List<Contact> cons = [ | |
| SELECT Id, Name FROM Contact | |
| WHERE Role_Id__c != null | |
| AND Is_Active__c = true | |
| AND Email != null | |
| ]; | |
| List<User> users = [ | |
| SELECT Id, ContactId FROM User WHERE ContactId IN :cons | |
| ]; |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>百度地图 JavaScript API 极速版自定义覆盖物</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" /> | |
| <style> | |
| body, | |
| html, | |
| #mapdemo { |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| /* boostrap progressbar */ | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0,0,0,0); |
| <!-- | |
| We will create a family tree using just CSS(3) | |
| The markup will be simple nested lists | |
| --> | |
| <style> | |
| /*Now the CSS*/ | |
| * {margin: 0; padding: 0;} | |
| .tree ul { | |
| padding-top: 20px; position: relative; |