Posted By

henry5 on 03/26/13


Tagged

Apex salesforce Visualforce


Versions (?)

Visualforce message


 / Published in: Java
 

Show a standard message inside a Visualforce page (In apex:pageMessage and/or apex:pageMessages)

  1. ApexPages.Message msg = new ApexPages.Message(ApexPages.Severity.INFO, 'message body');
  2. ApexPages.addMessage(msg);

Report this snippet  

You need to login to post a comment.