wood burning stoves*
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 Soft Skills this week in the Jobs Discussion 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing values b/w beans through navigation