I tried the suggestion of using forceId to specify the id of the
component for which I need to generate a message, and I also created a
property binding to get the client id. I did the latter mostly to check
that forceId was working and it was. The problem is that the messages
are not being shown on the page. In the case of page level validation
error messages, those do show up. The error messages that dont show up
are those that are added using FacesContext.addMessage() in the backing
bean. I am sure I am specifying the correct client id in the backing,
the messages simply don't show up. What could possibly be going wrong?
Any help would be greatly appreciated.