Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to pass paramenter from one bean to another bean without using session in jsf 2.0?  RSS feed

 
maya kannan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

I am using jsf 2.0 ..I need to know how to pass property value from one bean to another bean without using session scope
is any possibility ?

please share with me
 
Tim Holloway
Bartender
Posts: 18713
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Maya!

There are a number of ways. One is to use Request scope and to pass the value as a hidden field on a View. There are also custom JSF tags that expand on this idea.

Another way is to use Application scope, although that has the disadvantage of being global to all app users.

And finally, new in JSF2 is Flash scope, which can pass a value through exactly one change of Views.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!