Session scoped MB and FacesContext

UI Components for JSF
Post Reply
uaiHebert
Posts: 31
Joined: 26 Jan 2011, 02:21

26 Aug 2011, 04:45

I am receiving this exception IllegalStateException when I try only to add a message to be displayed in a growl.

Code: Select all

context.addMessage(null, new FacesMessage(messageLevel, message, message));
If I use a session scoped bean i got that error but If I use a requestedScoped it works fine.

Someone can help me? I really need to use the sessionScoped. =/

Thanks [=

uaiHebert
Posts: 31
Joined: 26 Jan 2011, 02:21

27 Aug 2011, 01:08

I am thinking if this is related to primefaces or event the session scoped.

I was searching at google and I saw someone saying that I would need to bind the growl. Is that true?

Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests