init a backing bean before all other beans initialization
843844Apr 25 2008 — edited Apr 25 2008Hi, is there a way to force initialized a session scoped bean before all other managed beans get initialized? The use scenario is that I have a session scoped bean which all other beans depend on, so only that this bean gets initialized properly first, then other beans can be initialized.Otherwise they wont work.
I handled this with jsp pretty well as I can have java code on the page head section and manually save the beans to the session. but now I am switching to facelet which only work with xhtml (correct me if im wrong), so I have to come up with some other way of init this bean but before all other beans init.
any suggestions are much appreciated!
Thanks!