Salesforce Visualforce Page

Salesforce

Coding standards in Salesforce

Visualforce page Name: Example: InventoryStatusPage ------------------------------------------------------------------------------------------------------------ Controller Name: Example: InventoryStatusController ------------------------------------------------------------------------------------------------------------ Extension Name: Example: InventoryStatusExt ------------------------------------------------------------------------------------------------------------ Test Class Name: Example: InventoryStatusTest ------------------------------------------------------------------------------------------------------------ Batch Class Name: Example: InventoryStatusBatch ------------------------------------------------------------------------------------------------------------ Scheduler Class ....

Salesforce

How to display Parent, Child and Grandchild records in pageBlockTable in Salesforce?

Objects: Member, Interest, Equipment Parent : MemberMember's Child : InterestMember's Grandchild and Interest's Child : Equipment Visualforce page: <apex:page sidebar="false" Controller="Sample" showHeader="true"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value="{!memberWrapperList}" var="W"> <apex:column value="{!W.member.Name}"/> <apex:column value="{!W.member.Age__c}"/> <apex:column ....

Salesforce

How to remove time from date in Visualforce page?

Sample Code: Visualforce page: <apex:page controller="Sample" >              <apex:form >                           <apex:outputText value="{0,date,dd'/'MM'/'yyyy}" >                  <apex:param value="{!temp}"/>              </apex:outputText>              </apex:form>          </apex:page>      Apex Controller: public with Sharing class Sample {                 public Date gettemp() {             Date d = date.ValueOf('2013-12-10');             return d;         }                 ....