码家

Web Platform, Cloud and Mobile Application Development

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年10月25日

摘要: 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 阅读全文
posted @ 2012-10-25 16:48 海山 阅读(238) 评论(0) 推荐(0)

摘要: 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/ 阅读全文
posted @ 2012-10-25 13:27 海山 阅读(628) 评论(0) 推荐(0)

摘要: 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 阅读全文
posted @ 2012-10-25 13:25 海山 阅读(1079) 评论(0) 推荐(0)

摘要: 目标:介绍Panel布局的各种类 Panel布局类在VS中的介绍内容:Panel布局类有10种:容器布局,自适应布局,折叠布局,卡片式布局,锚点布局,绝对位置布局,表单布局,列布局,表格布局,边框布局 1,Ext.layout.ContainerLayout 容器布局 提供容器作为布局的基础逻辑,通常会被扩展而不通过new关键字直接创建,一般作为默认布局存在 2,Ext.layout.FitLayout 自适应布局使用layout:'fit' 将使面板子元素自动充满容器,如果有多个子面板也只会第一个会被显示 3,Ext.layout.AccordionLayout 折叠布局 ( 阅读全文
posted @ 2012-10-25 11:18 海山 阅读(2587) 评论(0) 推荐(0)

摘要: 为了在发起某一事件后,阻止用户对界面的进行操作,可以使用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 阅读全文
posted @ 2012-10-25 11:04 海山 阅读(327) 评论(0) 推荐(0)