Is there any way embed a link in an apex:Messages error message?
Below is the apex:Mesages compnent on my VF page. I cannot use apex:PageMessages because it does not support the style resources that I am using.
<apex:Messages styleclass="alert alert-error errorStyling" />
The most common solution I am seeing is to set the escape attribute to "false" under PageMessages, but this attribute is not supported in apex:Messages, only PageMessages.
Is there any way to add a link to Page:Messages like the link below?
String err = 'Testing For Message Link: <a href="http://www.google.com">Google or Something</a>.';
ApexPages.addMessage(New ApexPages.Message(ApexPages.severity.Error, err));
PageReference pageRef = ApexPages.currentPage();
return pageRef;
Best,
CP