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 Passing values b/w beans through navigation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Passing values b/w beans through navigation" Watch "Passing values b/w beans through navigation" New topic
Author

Passing values b/w beans through navigation

Sathy Vani
Greenhorn

Joined: Dec 02, 2010
Posts: 1
Hello All,

I have a page that displays the list of products for a particular vendor. This is binded to VendorBean. Now when i click on the product id in the page the page gets navigated to product page showing the product details. Product page is handled by ProductBean. The navigation is configured in faces config and h:commandLink action performs the navigation. I need to pass the product id that has been clicked to the ProductBean. Both the beans are in request scope.
I can send it as a request parameter in GET request but dont want to do that way for security purposes.
Is there any elegant way for doing this that can also pass multiple values to the second bean?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Passing values b/w beans through navigation
 
Similar Threads
JSF Request Processing Lifecycle Basics
navigation problem in jsf
Passing hidden values to sendRedirect() in JSF
dynamic bean:define tags
Can not Reflesh Page and NullPointerException Problems