Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean's scope  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Please correct me if I'm wrong.
In JSF when we declare the bean's scope is request, does this mean that a new instance of the bean will be created each time we request the view?
If yes, please check this:
http://www.coderanch.com/t/213011/JSF/java/bean-remembering-state
In JSF, when a view is restored, the components and their state is also restored.
But what if the component is a a property of a request-scope bean (as my case)?
Thanks for your time.
[ July 03, 2007: Message edited by: John Todd ]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!