I have the view scoped bean which should access on init (@PostConstruct) the values from request URL and store them within its lifetime.
I've learned, that in order to get the values from http request, I need the following code:
@ManagedProperty("#{param.x}")
private int x;
Which gives me the value of attribute X. However, I can do that trick only in request scoped bean. Injecting this bean via @ManagedProperty to my bean also will not work. So, how to get access to that bean in view scoped bean?