http://www.adobe.com/devnet/facebook/articles/flex_fbgraph_intro.html
Wednesday, October 6, 2010
Wednesday, September 29, 2010
Wednesday, September 15, 2010
Collapse Page Block Sections by Default - solved
My issue solved!
I want to collapse all Page Block sections by default on page open.
I can write code in a VF Page, but I get cross site scripting errors.
Create a Static Resource using JavaScript to accomplish the default collapse:
function twistSection(twisty, sectionId) {
//twistSection code from salesforce.com
var parentDiv = twisty;
while (parentDiv.tagName != 'DIV') { parentDiv = parentDiv.parentNode; }
var headerId = sectionId || (parentDiv.id.split('_'))[1];
var div = parentDiv.nextSibling;
var elemWasOn = false;
if (div.style.display != 'none') {
div.style.display = 'none';
twisty.className ='showListButton';
twisty.alt = twisty.title = 'Show Section - '+twisty.name;
elemWasOn = true;
}
}
var registeredSections = new Array();
function registerTwistableSection(headerId, mainTableId) {
var obj = new Object();
obj.headerId = headerId;
obj.mainTableId = mainTableId;
registeredSections[registeredSections.length] = obj;
for (var i = 0; i < registeredSections.length; i++) {
var obj = registeredSections[i];
var img = parent.document.getElementById("img_" + obj.headerId);
//go right into twistSection if we have the img obj.
if(img){
if (img.className =='hideListButton') {
twistSection(img, obj.headerId, obj.mainTableId);
}
}
}
}
function registerTwistableSections_ep() {
//these are the sections I know about from viewing source code...
registerTwistableSection('01B30000003osTc', 'ep');
registerTwistableSection('01B30000003osTd', 'ep');
registerTwistableSection('01B30000003osTe', 'ep');
registerTwistableSection('01B30000003osTg', 'ep');
registerTwistableSection('01B30000003osTh', 'ep');
registerTwistableSection('01B30000003osTi', 'ep');
registerTwistableSection('01B30000003osTj', 'ep');
registerTwistableSection('01B30000003osTk', 'ep');
}
registerTwistableSections_ep();
Now for the cross site scripting hack:
Found this in another post and am so thrilled that it works:
1. Create a Custom Homepage Component that is HTML, refer to your Static Resource code:
<script src="/resource/1284395872000/pageBlockSupplement" type="text/javascript"></script>
2. Make sure this component is included on the Home Pages layouts. It is invisible, so you don't have to worry about it.
"
Thursday, September 9, 2010
Ethercodes Is a Web-based, Collaborative Programming Notepad [Collaboration Tools]
Think of EtherCodes as EtherPad for developers. Featuring line numbers and syntax highlighting, it lets you code with a group, in a web browser, in realtime, without sacrificing some of the comforts of your favorite text editor. More »
Thursday, June 3, 2010
8 Essential Development Tools from Tomcat Experts
Programming - Languages - Apache Tomcat - Compiler - Open source"
Tuesday, April 20, 2010
Tuesday, April 6, 2010
Introducing Force.com Secure Cloud Development
I'm very excited to report that we've published a new section of developer.force.com, Force.com Secure Cloud Development. This brings together the complete set of developer resources covering secure development practices on Force.com, and represents our continuing investment in tools and content designed to maintain the security of the entire Force.com ecosystem.
In my previous post, I mentioned that we had a number of new and free tools, training and resources for our developer community. I'm happy to be able to discuss them in more detail. Below you'll find the resources outlined in a typical software development lifecycle.
(Secure) Education- Intro to Force.com Security – Great intro on our platform security features
- Writing Secure Apps on Force.com – How to build secure apps on Force.com (online training)
- Developer Security Quiz – Test your security knowledge!
(Secure) Design
- Security Design Resources – Where to get started with general design queries
- Security Self Assessment – Get customized guidance based on your platform and functionality supported
- Office Hours – Book some time with the internal salesforce.com security team to get questions answered
(Secure) Development
- Secure Coding Library – Nail down the basics of secure coding using this library
- Secure Coding Guidelines – Detailed documentation on how to build secure apps on Force.com, Java, .NET, PHP and RoR
(Secure) Testing
- Force.com Security Source Scanner – Automated on demand analysis of your Force.com code for security issues
- Web Application Security Scanner – Free web application security scanner for eligible partners
(Secure) Release
- AppExchange Security Review – What to expect when undertaking the AppExchange security process
- Incident Response (Coming Soon) – Guidance on how to respond to potential incidents
We are actively looking for community feedback and want the resources we're making available to continuously improve and can only do that with your help. Together we can all build a trusted ecosystem. Any queries can be sent to securecloud {at} salesforce {dot} com or post questions to our community discussion board.
If you know anyone developing on the Force.com platform, help spread the word!