here is my code for my modal panel to add an entry to the DB
my first <h:message> will not appear until I have click "Save" about 3 times, the first message is to inform that update is successful
and I know it is successful because the message in eclipse console and Database GUI
I believe I solved my issue, I was using one UIMessage component to bind to 4 <h:message> tag
I just trying something different like making the problem <h:message> tag instead of binding to original UIMessage component I create another instance of the UIMessage component in the backing bean and it showed up the first time when I enter a form rather than showing up the message the 2nd or 3rd time the form is entered.