I am using the following JSF code snippet:

<f:view>
   ...
   <f:subview>
      <h:messages />
      ...
   </f:subview>
   ...
</f:view>

and in the backing bean I am adding an error message such as

FacesContext.getCurrentInstance().addMessage("myClientId", new
FacesMessage("error"));


The error message is not showing up.  I have tried all sorts of
combinations of addMessage() and new FacesMessage() and attributes with
<h:messages />, but nothing works.  Any advice?

Reply via email to