-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
4Questions
-
4Replies
Ignore bad certificate
I am working on getting the Strongview API working with my Force.com app. According to their documentation, this lit bit of code is required (C# example):
/* Ignore Certificate by trusting all certificate */
System.Net.ServicePointManager.CertificatePolicy = new TrustAllCertificatePolicy();
Shocking, right? Anyway, is there an Apex equiqalent for this? The part of me that wants the Force.com environment to be a safe and secure place hopes that there isn't. The part of me that is a developer who needs to get a task done hopes there is. ...But mostly I hope there isn't...
-
- EXRADM
- October 04, 2013
- Like
- 0
- Continue reading or reply
Hide or Disable a Button After Click
On a standard Salesforce edit page, when the save button is clicked, the button immediately grays out and prevents the user from clicking the button multiple times. I'm trying to get the same effect on a VFP but I am having no luck. Has anybody already done this? I don't know if it's pertinent, but my save button is calling a method called Save in a custom controller.
<apex:pageBlockButtons > <apex:commandButton action="{!Save}" value="Save" id="saveBtn" /> </apex:pageBlockButtons>
-
- EXRADM
- March 02, 2009
- Like
- 0
- Continue reading or reply
testMethod coverage with callouts
-
- EXRADM
- February 19, 2009
- Like
- 0
- Continue reading or reply
Microsoft Virtual Earth inside a Visualforce page?
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx—v=6.2&s=1"></script> <script type="text/javascript"> var map = null; function GetMap() { map = new VEMap('myMap'); map.LoadMap(new VELatLong(47.6, -122.33), 10 ,'h' ,false); } window.onload = GetMap(); </script> <div id='myMap' style="position:relative; width:400px; height:400px;"></div>
Message Edited by EXRADM on 12-16-2008 01:20 PM
-
- EXRADM
- December 16, 2008
- Like
- 0
- Continue reading or reply
Hide or Disable a Button After Click
On a standard Salesforce edit page, when the save button is clicked, the button immediately grays out and prevents the user from clicking the button multiple times. I'm trying to get the same effect on a VFP but I am having no luck. Has anybody already done this? I don't know if it's pertinent, but my save button is calling a method called Save in a custom controller.
<apex:pageBlockButtons > <apex:commandButton action="{!Save}" value="Save" id="saveBtn" /> </apex:pageBlockButtons>
- EXRADM
- March 02, 2009
- Like
- 0
- Continue reading or reply
testMethod coverage with callouts
- EXRADM
- February 19, 2009
- Like
- 0
- Continue reading or reply