APEX CLASS: public class TestMapController{ public map data {get;set;} public TestMapController(){ data = new map(); for(Account acc: [Select Id, Name, (Select Id, Name, Email from Contacts), Phone from …
Visual Force
-
-
-
1) Using Suppose you have standard Case object and have one custom child object named “Child__c” to case. Then you can show your relatedlist on vf page using below code. …
-
Source: http://techsahre.blogspot.in/2011/12/overlay-effect-for-vf-form-submit.html Online Demo for the overlay: http://labsprojects-developer-edition.ap1.force.com/OverlayDemo http://labsprojects-developer-edition.ap1.force.com/OverlayDemoProcessing Source Download:http://labs.aslambari.com/overlay.zip
-
Simple Steps: Step1 : Create a field (say FLAG) of type Checkbox. Set the default value to UNCHECKED. Step2: In your Approval Process in the INITIAL SUBMISSION Action , create …
-
VISUALFORCE and JS CODE: Click this box to change text font:
-
VISUALFORCE CODE: NOTE: Inline editing in Visualforce was introduced with the Spring’11. Enabling inline editing is simple. above example is related with …
-
Example for save an attachment in APEX. APEX CODE: public class status{private final Applicant__c applicant;public Blob resume {get; set;}public String contentType {get; set;}public String fileName {get; set;} public status(ApexPages.StandardController stdController) …
-
This is about how we can use Field Set. We can dynamically bind fields on our visual force page using Field Set. It is very useful when we are working …
-
How I can insert sObject record dynamically? Visualforce Page code : Apex …