How to get the default picklist value using Apex Class? Its possible to get the default picklist value using apex class and doesn’t require the SOQL Query and its not…
Tag:
Salesforce.com Development
-
- 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…