Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing values b/w beans through navigation

 
Sathy Vani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic