Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Annotations Not Working

 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Annotations on several of my beans are not getting called in JSF 2.0. One of my bean's annotations, however, are getting called. Any idea why that may be?

Here's a snippet of the bean that has an annotation being correct called. This bean is called when a page with a datatable loads.




Here is an example of a bean whose annotations are never called. It is a POJO bean rather than a backing bean as above. The bean is populated when a separate backing bean's method is called from a command button.

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18162
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would help if you'd mentioned which annotation is being "called".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic