How can i initialize a pages controller-bean before all geters are called, when calling the page by entering URL directly?
I do not want it solve via Phaselistener. Im looking for kind of tag inside the page. F.i. i think it works with a getter as first element inside the page, but is it for sure it will be called first before all others, are the tags sequentially called?
I want it to forward to another page prom inside the controller, when data is not ready (so best would be all the other getter setters on the page are not called).
I just found solutions, especially f:view beforphase / afterphase seems promising, just have to solve problem my f:view tag is inside facelet template:-). (I hope it runs in facelet.* Or @PostConstruct which is called at init time not every request, actually cant see difference to Bean constructor).