FacesMessages within a htmlhtml component
Dear All
We are having problems with FacesMessages. Something like the below is working fine unless we use it within a component.
FacesMessage msg = new FacesMessage(in.steuerung.fehler.ErrorNachricht);
msg.setSeverity(javax.faces.application.FacesMessage.SEVERITY_ERROR);
FacesContext.getCurrentInstance().addMessage("form:idIcBanfLieferungen:idFsLieferungen",msg);
Then we are getting an error, instead of a message on the UI.
There are some unhandled FacesMessages, this means not every FacesMessage had a chance to be rendered.
These unhandled FacesMessages are:
- Bitte geben Sie ein Lieferdatum an.
Why is this not working?
Many thanks in advance for your advice.
Regards, P