• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reuse CDI @Named managed bean (or how to change annotation "name")

 
Ignacio de Cordoba
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'd like to use multiple instances of the same CDI Named bean in a JSF2 page. I wonder how can I "override" the default name of @Named annotation so I can have those 3 o 4 instances in my page. I've search about beans.xml but don't find it. Can I use old faces-context.xml "managed bean" entry? Don't know if that will apply to a CDI @Named bean or can only be use for old non CDI managed beans.

thanks for any info,
Ignacio
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!