摘要:关于after delete trigger里保存的id什么的找不到,跟这些id相关的record想要重新计算,就没有办法解决方法:在before trigger里将用到的id保存到static 的变量里面
阅读全文
10 2012 档案
摘要:<apex:page ><apex:iframe src="/apex/API_Extjs_app" scrolling="true" id="theIframe"/></apex:page>可扩展成动态调用
阅读全文
摘要:灵性的笔尖勾勒幻想的国度,找寻梦想的脚步!用我的思想创建一个芬芳的世界!
阅读全文
摘要:var xxxPanel = new Ext.Panel({//...各种属性listeners:{'collapse': function(node,e){//todo 收缩的操作 },'expand' : function(node,e){//todo 展开的操作 }},//...其他属性});
阅读全文
摘要:panel有一个收缩属性配置。配置为true后就是一个向上的箭头,点击后收缩。调用 panel.collapse(true),可以执行面板的收缩效果,panel.expand()为展开~
阅读全文
摘要:Important: this config is only effective forcollapsiblePanels which are direct child items of aborder layout.Whennota direct child item of aborder layout, then the Panel's header remains visible, and the body is collapsed to zero dimensions. If the Panel has no header, then a new header (orienta
阅读全文
摘要:Master Detail 或者 Lookup field 改变或者parent删除,是不触发trigger的parent delete, child delete, but the child delete trigger is not invoked
阅读全文
摘要:Upsert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: execution of AfterInsert caused by: System.QueryException: Non-selective query against large object type (more than 100000 rows). Consider an indexed filter or contact salesforce.com about custom indexing. Ev
阅读全文
摘要:Example:Decimal m;Decimal abc = 20 * 10 * (1 - m);system.debug('@@@##$$:'+abc);
阅读全文
摘要:一个能有二十W年收入的家庭达到三十W年收入的水平也是很容易的,而3W的家庭达到10W的水平越很难。
阅读全文
摘要:摘要:值得打印出来贴在办公室墙上学习实践的箴言。优秀来自好的习惯。怎样成为优秀的开发人员?图灵公司最近热销的《高效程序员的45个习惯》一书给出了很好的解答,非常值得一读。这本书的英文原版荣获了有软件奥斯卡之称的Jolt生产效率大奖,在Amazon上也是好评如潮。第一作者Venkat Subramaniam博士是Agile Developer公司创始人,敏捷开发方面的权威人士,精通各种开发技术。第二作者Andy Hunt更是大名鼎鼎的人物,是敏捷宣言的创始人,著名图书出版公司Pragmatic Programmers的创始人。他有两本书大家应该都是知道:经典的Ruby教程《Programming
阅读全文
摘要:Ext布局总的来说是很灵活的,因此我觉得有必要一块探讨一下。Ext常用的布局都在Ext.layout下,这里几乎涵盖了所有的布局方式(但是值得注意的是通常我们不是直接通过"new"来创建这些类的对象然后往里面添加控件使用,而是作为控件一个配置属性使用让Ext自动创建对应的类),满足开发者需求。那么我们就其中常用的方式逐一介绍。Border布局Border布局是Ext中常用布局方式(经常用到整个页面的总体布局),感觉用的几率很大。在看代码之前先熟悉一种特殊的容器ViewPort,它是对于浏览器视窗的抽象,你可以将它理解为浏览器的可见区域,它将渲染到document.body并
阅读全文
摘要:With theSpring ’10release, Salesforce.com removed the limit on the number of items a collection can hold. So now, instead of ensuring that your collections contain no more than 1000 items, you have to monitor your heap size. Here are some strategies on how to write Apex scripts that run within these
阅读全文
摘要:There's a lot of useful information around heap management in this post from Jeff Douglas:http://blog.jeffdouglas.com/2010/08/16/managing-the-heap-in-salesforce-com/
阅读全文
摘要:1. Auto Number:http://boards.developerforce.com/t5/Apex-Code-Development/UNABLE-TO-LOCK-ROW-error-during-deployment-SFDC-bug/td-p/2087922. Update same record @futurehttp://boards.developerforce.com/t5/Apex-Code-Development/Unexpected-quot-UNABLE-TO-LOCK-ROW-quot-on-simple-update/m-p/175859#M27475htt
阅读全文
摘要:目标:介绍Panel布局的各种类 Panel布局类在VS中的介绍内容:Panel布局类有10种:容器布局,自适应布局,折叠布局,卡片式布局,锚点布局,绝对位置布局,表单布局,列布局,表格布局,边框布局 1,Ext.layout.ContainerLayout 容器布局 提供容器作为布局的基础逻辑,通常会被扩展而不通过new关键字直接创建,一般作为默认布局存在 2,Ext.layout.FitLayout 自适应布局使用layout:'fit' 将使面板子元素自动充满容器,如果有多个子面板也只会第一个会被显示 3,Ext.layout.AccordionLayout 折叠布局 (
阅读全文
摘要:为了在发起某一事件后,阻止用户对界面的进行操作,可以使用ExtJS提供的针对Ext.Element的mask和unmask例如:1、对整个body操作 1 function reLoadData(){ 2 Ext.getBody().mask("数据重新加载中,请稍等"); 3 4 var requestConfig = { 5 url : '#',//url可以根据需要设置 6 callback : function(options, success, response){ 7 var msg = ["", , "\n&quo
阅读全文
摘要:1. 你会在你男人前面起床,为他做早饭么?为什么?2. 当钱有限的时候,是先给自己打扮,还是先打扮男人?为什么?3. 你的消费观是什么?为什么?4. 你最大的优点是什么?怎么体现出来的?5. 你最大的缺点是什么?怎么体现出来的?6. 平时经常做的印象深的事情是什么?
阅读全文
摘要:何时何地曾经遇到过她,一次次不经意的偶然的短暂的插肩的相遇,留下淡淡的印象。四年快过去了,在某一节考研课上,迎来了可能2个小时的前后桌。这就是缘分么。还不算。某一天走进了图书馆,多久没迈进的图书馆,他再次见到了她。这一次的相遇,再也不是两个小时了。能记得的清是那是一个四月。2010的四月。201020112012原来只有2年多。2年6个月
阅读全文
摘要:Designing object-oriented software is hard, and designing resuable object-oriented software is even harder. You must find pertinent objects, factor them into classes at the right granularity, define class interfaces hierarchies, and establish key relationships among them.pertinent:per·ti·n
阅读全文
摘要:IntroductionFile upload form element has been available for ages, for all the frontend developer, the file upload form element can cause headache because it's very hard to reskin, and it only has the most basic feature - file selection. Now, we have AJAX based file uploader which able to provide
阅读全文
摘要:http://www.meet99.com/
阅读全文
摘要:http://www.16sucai.com/2010/11/1515.html
阅读全文
摘要:1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; c
阅读全文