You need to sign in to do that
Don't have an account?
Vijay Nagarathinam
add new line in page message
Hi,
I want to add new line in the apex page message. Below I have used the code, but its not working for me.
Notice:
Test Error Message.
Thanks,
Vijay
I want to add new line in the apex page message. Below I have used the code, but its not working for me.
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.INFO,'Notice: <br/> Test Error Message')); return true;I need to show the error message like this.How to achieve this.
Notice:
Test Error Message.
Thanks,
Vijay
Hey Vijay,
In your VF add escape attribute in your pagemessage component and make it as false like as below
<apex:pageMessages escape="false"/>
Hope it helps you!