File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Different Managed Bean instances Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Different Managed Bean instances" Watch "Different Managed Bean instances" New topic
Author

Different Managed Bean instances

Alex Grilo
Greenhorn

Joined: Oct 27, 2009
Posts: 1
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

Joined: May 01, 2008
Posts: 82
Change the bean scope to session.
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Different Managed Bean instances
 
Similar Threads
how to access JSF Managed Bean in Struts Action class
Display the contents of folder when the link is clicked
Will the setters be called
Retrieve a object
use action without actionMapping