Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Show FacesMessage with summary and details programmatically?

hofespetOct 12 2012 — edited Oct 15 2012
Hi,

Jdev 11.1.1.4.0.

I try to show a global FacesMessage with summary AND detail text programmatically.
Here is the code
          FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "some message summary", "some message detail");
          FacesContext.getCurrentInstance().addMessage(null, message);
But only the details text "some message details" is displayed in the message.


regards
Peter
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2012
Added on Oct 12 2012
7 comments
5,339 views