Hi,

when should the messages be displayed (on page load, on page submit). Could you quickly describe your page setup?

regards
Michael

Am 02.02.2010 21:23, schrieb laredotornado:

Hi,

I'm using MyFaces 1.1.5 with Tomahawk 1.1.7.  I have verified in my
controller that this method is being called with non-empty parameters ...

          protected void addErrorMessage(final String inputId, final String 
errMsg)
{
                  final FacesMessage message = new FacesMessage();
                message.setSeverity(FacesMessage.SEVERITY_ERROR);
                message.setSummary(errMsg);
                final FacesContext context = FacesContext.getCurrentInstance();
                context.addMessage(inputId, message);           
          }     // addErrorMessage

but this code on my JSF page is not displaying the error ...

<t:messages layout="table" showDetail="true" showSummary="true"
styleClass="error"/>

Any ideas how to troubleshoot this problem further or do you see anything
immediately wrong?  Thanks, - Dave

Reply via email to