apex:actionStatus
A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Sample Code: <apex:page ><apex:form > <apex:pageBlock id="ab" > <apex:pageBlockSection ....
A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Sample Code: <apex:page ><apex:form > <apex:pageBlock id="ab" > <apex:pageBlockSection ....
Sample Code: public List<String> ids = new List<String>{'003A0560014LLW9','a03A0000014LLWi','s03A000er14LLWq','a03A034d014LLWi','a03un000014LLWi','a03A0y00014LLW9','0019000000GuZEF'}; public List<Account> acc {get;set;} public void find() { acc = Database.Query('Select Name, SLA__c From Account Where Id IN: ....
Sample Code: Visualforce page: <apex:page standardController="Account" extensions="sample"> <apex:form > <apex:pageMessages /> <apex:pageBlock > <apex:pageBlockSection > <apex:pageBlockSectionItem > Account Name: </apex:pageBlockSectionItem> <apex:pageBlockSectionItem > <apex:inputField value="{!Account.Name}"/> </apex:pageBlockSectionItem> </apex:pageBlockSection> <apex:pageblockButtons > ....
Sample code:Visualforce page: <apex:page controller="sample" id="mypage"> <apex:form > <apex:selectList id="selected_list" value="{!temp}" required="false" size="1"> <apex:selectOption itemvalue="None" itemLabel="--None--"/> <apex:selectOption itemvalue="a" itemLabel="a"/> <apex:selectOption itemvalue="b" itemLabel="b"/> <apex:actionSupport ....
Visualforce page: <apex:page standardController="Blog__c" extensions="sample"> <apex:inputField value = "{!Blog__c.Name}"/> <apex:inputField value = "{!Blog__c.URL__c}"/> </apex:page> Apex Controller: Public Blog__c blg; public sample(ApexPages.StandardController controller) ....
To include external Javascript file in Visualforce page, follow the below steps 1. Add the JS file in Setup --> App Setup --> Develop --> Static Resources. 2. Add the ....
Sample Code1: Visualforce page: <apex:page docType="html-5.0" controller="Sample"> <apex:form > <apex:pageBlock > <apex:pageBlockSection> <apex:pageBlockSectionItem> Date: <apex:input type="date" value="{!dat}"/> </apex:pageBlockSectionItem> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page> Apex Controller: public class Sample { public Date ....
Custom labels are custom text values that can be accessed from Apex classes or Visualforce pages. The values can be translated into any language Salesforce supports. Custom labels enable developers ....
Step 1: Generate Partner WSDL. Save the generated Partner WSDL. Step 2: Generate Apex code using the generated Partner WSDL. Copy the generated code and create a new ....
Sample code: Visualforce page: <apex:page standardController="Account" extensions="sample"> <!-- Dynamic creation of Section Header --> <apex:dynamicComponent componentValue="{!secHead}"/> <apex:form > <!-- Dynamic creation of pageBlock --> <apex:dynamicComponent componentValue="{!formSample}"/> </apex:form> ....