Hello all, I have two problems:
1. I have several managed-beans and I access one of them (session scoped) from the others. I need it to be instantiated on every page even when it is not referenced there. Is there any possibility to do it?
2. Another request scoped bean is used to control access. It also access the first bean to check whether the user is logged in and it should redirect to login page in case the user is not logged in. I tried to use ExternalContext.dispatch() but I got an exception saying that flush cannot be called inside custom tags. Any ideas?
Thanks for any help, link or idea. Best regards Ondrej Svetlik

