function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kalakala 

Display page Message in the VF page

Display PageMessage in the VF page ..with out using class is possible or not?

  If possible pls send reply..

Best Answer chosen by Admin (Salesforce Developers) 
Navatar_DbSupNavatar_DbSup

Hi,

Try the below code snippet as reference:

 

<apex:pageMessage id="Msg" title="Warning" summary="Total Capital Called is exceeding Total Commitments made." severity="warning" strength="2"/>

or

 <apex:page >

<apex:pageMessage id="Msg" title="Warning" summary="Total Capital Called is exceeding Total Commitments made." severity="warning"></apex:pageMessage>

  <!-- Begin Default Content REMOVE THIS -->

  <h1>Congratulations</h1>

  This is your new Page: test

  <!-- End Default Content REMOVE THIS -->

</apex:page>

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

All Answers

Navatar_DbSupNavatar_DbSup

Hi,

Try the below code snippet as reference:

 

<apex:pageMessage id="Msg" title="Warning" summary="Total Capital Called is exceeding Total Commitments made." severity="warning" strength="2"/>

or

 <apex:page >

<apex:pageMessage id="Msg" title="Warning" summary="Total Capital Called is exceeding Total Commitments made." severity="warning"></apex:pageMessage>

  <!-- Begin Default Content REMOVE THIS -->

  <h1>Congratulations</h1>

  This is your new Page: test

  <!-- End Default Content REMOVE THIS -->

</apex:page>

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

This was selected as the best answer
kalakala

Thanks Navatar garu..

 

 

in the summary message like

 

summary="Total Capital Called is exceeding Total Commitments made." in that middle i want one word font as bold and  underline...