Well....
After checking a bit I noticed that changing the scope to session causes me some other problems.
My
JSF page can be loaded from different locations in the application.
For example, there is a button in page a, and a button in page b.
Pressing these buttons loads the same "problematic" JSF, but with different parameters.
In these cases (when loaded from different pages), I do want the bean to reconstruct itself.
But now after I changed the scope to session it doesn't.
How can I call the constructor or other method in the bean? (using the body onload causes a loop).
Do I have to kill the session to make it work??
Please help,
Thanks,
Efrat