Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@ConversationScoped

 
Markus Schmider
Ranch Hand
Posts: 132
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to implement my first ConversationScoped CDI bean. However the bean never gets instantiated.
Tried both on JBoss 6 M5 and GlassFish V3.



The conversation is supposed to be started from index.xhtml:


I get the error message:



The next page would be


I have also tried to use this bean alone with

in the constructor.
With this the bean does not get instantiated either. However I get no error message. The <h:outputText is not populated.

>
 
Markus Schmider
Ranch Hand
Posts: 132
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stupid me:

Forgot
WEB-INF/beans.xml

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic