As I understand it a managed-bean that is request scope will get instantiated
each time (a request is submitted) and then destroyed (or sent for garbage
collection) after the response.

I put some print statements in the no arg constructor and see that it is
instantiated (and all setters called with Spring injection) the first time
the page is requested, but then when I hit other buttons on the page
(subsequent requests), I do not see the bean re-instantiated (and setters
called) etc.

any ideas?  I have seen some beans that get instantiated on every request,
but the few that I am working with don't.  I have checked my config file and
it is indeed in "request" scope.

It acts like it is in session scope or something.  I should see the no-arg
constructor called each time for a request.

thanks


L
-- 
View this message in context: 
http://www.nabble.com/managed-bean---request-scope-question-tf3198755.html#a8880992
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to