When a user clicks a button that isn't right for their circumstances, how can I post a custom error message to the top of the page?
I have tried the
ctrl.setMessage(message);
from within the Button code, but this puts the message beneath the button itself.
I want the message to be where the typical "<<Record Added>>" appears.