Tim Holloway wrote:I don't generally find it necessary to get that complicated. Usually it's sufficient for me to add boolean render methods to the backing bean for the activity I want to constrain.
Victor Dolirio wrote:Daniel,
Thanks for regards. Could I call this method without an user action? i.e. When the user enter the url in browser, before it gets rendered?
Benoît de Chateauvieux wrote:Hi Bauke,
In the Render Response phase, the afterPhase method will be executed after the page has been displayed.
That's why your change doesn't work.
I resolved this problem implementing a custom renderkit that decorates the renderkit of my JSF implementation.
Hope it helps !