Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different Managed Bean instances

 
Alex Grilo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a JSF application and here is my cenario: there's a button which execute an action in a bean and then through the navigation rules, goes to another view-id which also uses this bean. This bean's scope is request, but I'd like to use the attributes that were set at the button's action, but I can't be. Which is the best way to get these values?

Thanks

Alex
 
Teena George
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change the bean scope to session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic