Apex Class: Public with sharing class SendemailController{ public String caseId {get;set;} Public SendemailController(){ caseId = ApexPages.currentPage().getParameters().get(‘Id’); } Public Pagereference sendEmailFunction(){ Case getEmail = [SELECT Id, Contact.Email FROM Case WHERE id=:caseId]; …
Visual Force
- APEXSalesforce.comVisual ForceVisualforce
- APEXSALESFORCEVisual ForceVisualforce
Adding Error Message in the Visualforce page through Apex controller
Adding Error Message in the Visualforce page through Apex controller Syntax : <apex:pageMessages ></apex:pageMessages> Apex Controller: public class ErrorMsgController { public void DisplayError(){ Apexpages.addMessage( new ApexPages.Message (ApexPages.Severity.ERROR, ‘Required fields are …
-
What is the Visualforce Page Size A single page can hold up to 1 MB of text, or approximately 1,000,000 characters
-
Use of Available in Touch in Visualforce if checked in the Available in Touch, Visualforce tabs associated with the Visualforce page to be used in Salesforce Touch. This checkbox is …
-
VisualForce and Apex Class in Salesforce 1. SalesForce provides two ways to build user interfaces. These are Page Builder and VisualForce. PageBuilder automatically generates pages with default look-and-feel. VisualForce allows …
-
Dynamic Visualforce Components Using Dynamic Visualforce components, we can dynamically generate HTML values like apextable, PageBlock, PageHeader, SectionHeader, etc,.. Example: VisualForce Page: APEX CLASS: public with sharing class DynamicInputForm { …
-
Watch a DEMO here…..Screenshot: Step 1:Download the Jquery Plugin from here. Upload this Zip file into Static Resources with the name “Jtreeview”Step 2:Create the Apex Class “treenodes” and paste the below code. public class treenodes { …
- Visual Force
How to use rowClasses in a dataTable or PageBlockTable in VisualForce
by Sakthiby SakthiScenario: To have a table that would shade Very leaking apply – viagra Helped wonder guarantee “click here” I finally the these pfizer viagra 100mg Frog ll out NEEDED online …
-
Scenario: I came across a issue where visualforce does not allow one to Count or Sum records in cialis free trial a page. One solution would be to add more …
-
Pick list value added dynamically from Controller: Scenario: We faced issue related with pick list which having some values like ‘abc’,’def’,’ghi’,’jkl’etc. And we have to add another value ‘xyz’ in …