码家

Web Platform, Cloud and Mobile Application Development

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  234 随笔 :: 426 文章 :: 44 评论 :: 145万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2012 档案

摘要:fighting 阅读全文
posted @ 2012-11-28 22:47 海山 阅读(294) 评论(1) 推荐(0) 编辑

摘要:When an administrator enables feed tracking, users see updates for objects and records they follow in theirChatterfeed. Many objects and fields are tracked by default, but administrators can further customize feed tracking to include or exclude specific objects and fields.Available in:Group,Professi 阅读全文
posted @ 2012-11-27 15:55 海山 阅读(551) 评论(0) 推荐(0) 编辑

摘要:Q.1)You can use Global Search when Chatter has been disabledA.TrueB.FalseQ.2)On an object you can select ____ fields to track for Chatter FeedA.10B.15C.20Q.3)Which data can be synced using the new Salesforce for Outlook?(Choose 2 answers)A.EventsB.Custom ObjectsC.LeadsD.ContactsQ.4)The Highlight Pan 阅读全文
posted @ 2012-11-27 15:54 海山 阅读(447) 评论(0) 推荐(0) 编辑

摘要:Yahoo User Interface Library (YUI Library):YUI is a free, open source JavaScript and CSS library for building richly interactive web applications.Link : http://yuilibrary.com/EXTJS:With an advanced MVC architecture, plugin-free charting, and modern UI widgets, Sencha Ext JS is the industry's mos 阅读全文
posted @ 2012-11-19 15:48 海山 阅读(516) 评论(0) 推荐(0) 编辑

摘要:public List<SelectOption> getAmounts() { List<SelectOption> options = new List<SelectOption>(); options.add(new SelectOption('1', '1')); options.add(new SelectOption('2', '2')); options.add(new SelectOption('3', '3')); options.add(new 阅读全文
posted @ 2012-11-19 11:04 海山 阅读(645) 评论(0) 推荐(0) 编辑

摘要:<apex:pageBlockSectionItem > <apex:outputLabel value="{!$ObjectType.Visit__c.fields.Activity_Type__c.label}"/> <apex:outputPanel layout="block" styleClass="requiredInput"> <apex:outputPanel layout="block" styleClass="requiredBlock&quo 阅读全文
posted @ 2012-11-19 11:03 海山 阅读(346) 评论(0) 推荐(0) 编辑

摘要:Are you curious that why I want to talk about time, that's because I am a man that are very afraid of death.If you are dead, you will have no delicious food to eat!If you are dead, you will have no chance to go to shopping!If you are dead, you will have no music and movies to enjoy!If you are de 阅读全文
posted @ 2012-11-18 12:17 海山 阅读(234) 评论(0) 推荐(0) 编辑

摘要:检查下有没有类似于 rendered=" {!abc}"value="{!abc} " 阅读全文
posted @ 2012-11-16 18:08 海山 阅读(148) 评论(0) 推荐(0) 编辑

摘要:Remove Edit and Delete privileges on that related object from the profile. They will disappear from the related list.It's one thing to want to restrict the users edit/delete rights at the object level 阅读全文
posted @ 2012-11-16 11:14 海山 阅读(242) 评论(0) 推荐(0) 编辑

摘要:for(Date dateToday = dateStart; dateToday <= dateEnd; dateToday.addDays(1)){ System.debug('Updating All Other Jobs Than Daily Ones : ' + dateToday); //dateToday = dateToday.addDays(1); } 阅读全文
posted @ 2012-11-14 10:13 海山 阅读(172) 评论(0) 推荐(0) 编辑

摘要:如果有涉及到时区会影响的地方,要格外小心对时间的处理 阅读全文
posted @ 2012-11-13 14:24 海山 阅读(269) 评论(1) 推荐(0) 编辑

摘要:如果是system admin, 仍然可以编辑的 阅读全文
posted @ 2012-11-13 12:52 海山 阅读(202) 评论(0) 推荐(0) 编辑

摘要:Quickstart: Creating Custom Screen Pops Using VisualforceThis is part of theDeveloping with Service & Support QuickstartsUse CaseThe time that agents spend clicking through Service & Support is often scrutinized closely. Companies want to enable their agents to be as productive as possible, 阅读全文
posted @ 2012-11-12 16:00 海山 阅读(448) 评论(0) 推荐(0) 编辑

摘要:Developing With The Service CloudMany customers are currently using salesforce.com'sService Cloudproduct to run their customer service in the cloud. This fast-growing application enables customers to manage their customer service operations using the salesforce.com platform.One of the powerful a 阅读全文
posted @ 2012-11-12 15:47 海山 阅读(411) 评论(0) 推荐(0) 编辑

摘要:1. map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();map的key是 object api name比如 “Account”可以: gd.containsKey(“Account”) 去判断一个object里有没有那个field2.map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();Schema.SObjectType sot = gd.get(objApi);Schema.DescribeSObjectResul 阅读全文
posted @ 2012-11-12 15:24 海山 阅读(335) 评论(0) 推荐(0) 编辑

摘要:Schema.DescribeSObjectResult sobjr = Schema.getGlobalDescribe.get(objApi).getDescribe();sobjr.fields.getMap();导致describes不断增加的地方, 不是第一行,而是第二行 阅读全文
posted @ 2012-11-12 14:14 海山 阅读(175) 评论(0) 推荐(0) 编辑

摘要:return (new ApexPages.StandardController(mobileObject)).view(); 阅读全文
posted @ 2012-11-12 14:11 海山 阅读(223) 评论(0) 推荐(0) 编辑

摘要:http://www.iteye.com/topic/36419http://bbs.csdn.net/topics/300245089 阅读全文
posted @ 2012-11-10 23:50 海山 阅读(296) 评论(0) 推荐(0) 编辑

摘要:private static final map<String, String> map_event_visit_s = new map<String, String> { 'Avis_Date__c' => 'Avis_Date__c', 'Avis_Mode__c' => 'Avis_Mode__c', 'Avis_Type__c' => 'Avis_Type__c', 'Activity_Type__c' => 'Acti 阅读全文
posted @ 2012-11-08 15:12 海山 阅读(1213) 评论(0) 推荐(0) 编辑

摘要:private map<String, String> map_urlParams;map_urlParams = ApexPages.currentPage().getParameters(); 阅读全文
posted @ 2012-11-08 14:41 海山 阅读(378) 评论(0) 推荐(0) 编辑

摘要:DML currently not allowedSystem.LimitException: DML currently not allowed不能在constructor里进行DML操作的 阅读全文
posted @ 2012-11-08 14:05 海山 阅读(252) 评论(0) 推荐(0) 编辑

摘要:String err = 'Error. Click <a href="' + Page.MyCustomPage.getURL() + '">here</a>.';ApexPages.Message msgErr = new ApexPages.Message(ApexPages.Severity.ERROR, err);ApexPages.addmessage(msgErr); <apex:pageMessages escape="false"/> 阅读全文
posted @ 2012-11-08 14:04 海山 阅读(298) 评论(0) 推荐(0) 编辑

摘要:看到这个不一定是validation rule有可能是触发了addError 阅读全文
posted @ 2012-11-08 12:57 海山 阅读(329) 评论(0) 推荐(0) 编辑

摘要:实心线:<HR align=left width=490 color=#990099 SIZE=3 noShade>竖直线:<HR align=center width=1 color=red size=100>虚线:<hr size=1 style="color: blue;border-style:dotted;width:490px;color:#CCC">双线:<hr size=1 style="COLOR:#ff9999;border-style:double;width:490px;color:#CCC&quo 阅读全文
posted @ 2012-11-07 13:31 海山 阅读(14334) 评论(0) 推荐(0) 编辑

摘要:public static final map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();private static map<String, DescribeSObjectResult> map_describeSobject_objName = new map<String, DescribeSObjectResult>();public static DescribeSObjectResult describeSobj (String objApi) { DescribeSO 阅读全文
posted @ 2012-11-06 16:38 海山 阅读(341) 评论(0) 推荐(0) 编辑

摘要:Struts2,Spring,Hibernate等开源框架的使用 阅读全文
posted @ 2012-11-05 22:38 海山 阅读(259) 评论(0) 推荐(0) 编辑

摘要:使用github管理Eclipse分布式项目开发2012-4-14 12:01|发布者:benben|查看: 334|评论: 0摘要: 使用github管理Eclipse分布式项目开发老关我在前面的博文(github管理iOS分布式项目开发)中介绍了github管理iOS分布式开发,今天老关将向大家介绍使用github管 理Eclipse分布式项目。事实上我们的516inc团队这在开 ...使用github管理Eclipse分布式项目开发老关我在前面的博文(github管理iOS分布式项目开发)中介绍了github管理iOS分布式开发,今天老关将向大家介绍使用github管 理Eclipse分 阅读全文
posted @ 2012-11-05 17:12 海山 阅读(571) 评论(0) 推荐(0) 编辑

摘要:页面上,老是报错:Error:common.apex.runtime.impl.ExecutionException: Invalid id:原因,在页面上有个 类型 是 id 的field,没有赋值,是 ‘’ 阅读全文
posted @ 2012-11-05 13:58 海山 阅读(787) 评论(0) 推荐(0) 编辑

摘要:http://www.mobanwang.com/http://www.os-templates.com/free-website-templateshttp://www.templatekingdom.com/Website-Templates/Flowers/Cluster 阅读全文
posted @ 2012-11-04 19:45 海山 阅读(182) 评论(0) 推荐(0) 编辑

摘要:http://www.proprofs.com/quiz-school/story.php?title=developer-examination-kvp-business-solutionshttp://wenku.baidu.com/view/bfcdd74fc850ad02de804177.html 阅读全文
posted @ 2012-11-04 19:41 海山 阅读(200) 评论(0) 推荐(0) 编辑

摘要:https://developers.google.com/appengine/https://developers.google.com/appengine/docs/java/gettingstarted/https://developers.google.com/appengine/kb/https://developers.google.com/appengine/docs/https://developers.google.com/eclipse/docs/install-eclipse-3.6http://www.google.com/enterprise/apps/busines 阅读全文
posted @ 2012-11-04 19:37 海山 阅读(168) 评论(0) 推荐(0) 编辑

摘要:经常看到许多人问如何配置JDK和JSP,现在我把方法总结下,希望对大家有所帮助。第一步:下载jdk和tomcat第二步:安装和配置你的jdk和tomcat:执行jdk和tomcat的安装程序,然后设置按照路径进行安装即可。1.安装j2sdk以后,需要配置一下环境变量,在我的电脑->属性->高级->环境变量->系统变量中添加以下环境变量(假定你的jdk安装在c:\jdk1.6):JAVA_HOME=c:\jdk1.6classpath=. ;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;(.;一定不能少,因为它代表当前路 阅读全文
posted @ 2012-11-04 17:01 海山 阅读(328) 评论(2) 推荐(0) 编辑

摘要:Microsoft Office 2010 language packsserve the needs of people who want to useMicrosoft Office 2010in languages other than English which is the default. It is useful especially for people who either want to use Office 2010 in their own language or want to use a multilingual setup so that they can wor 阅读全文
posted @ 2012-11-01 18:50 海山 阅读(28139) 评论(1) 推荐(0) 编辑

摘要:Aggregate query has too many rows for direct assignment, use FOR loop错误的代码:if (query == '' || query == null){ query = 'SELECT id, name, ownerid, Planned_Visits__c, Actual_Visits__c, Visits_last_Year__c, ' + ' (SELECT AccountId, id, Type, ActivityDate, Visit_Report__c ' + ' 阅读全文
posted @ 2012-11-01 18:21 海山 阅读(436) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示