*
The moose likes JSF and the fly likes Passing values b/w beans through navigation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Passing values b/w beans through navigation
 
Similar Threads
Can not Reflesh Page and NullPointerException Problems
Passing hidden values to sendRedirect() in JSF
JSF Request Processing Lifecycle Basics
navigation problem in jsf
dynamic bean:define tags