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

asked 15.08 at 02:59

peterw81's gravatar image

peterw81
164
accept rate: 0%

edited 15.08 at 03:00

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×54

Asked: 15.08 at 02:59

Seen: 59 times

Last updated: 15.08 at 03:00