How to remove property name prefix in error messages set using Property-Set-Messages
I have a requirement to show error message for a certain field at both Property level and Page level at top of page. To accomplish this I am using Property-Set-Messages. But when the message is displaying at the page level it is always accompanied by the Property Name followed by the error message. The client requirement is to display only the error text at the page level. It should not be prefixed with Property Name.
To show the error at the top of page I am using a Custom error Section which will be visible if hasMessages condition is true and picks the error message using <%=tools.getPrimaryPage().getMessagesAll()%> embedded inside a label within the section.
Could you kindly advise how to eliminate the Property name from being prefixed at the page level error.