Wednesday, 28 August 2013

How to start special init event in a backing bean before JSF page loads?

How to start special init event in a backing bean before JSF page loads?

PF 3.5.10, Mojarra 2.1.21, Omnifaces 1.5
How to call special init()-method of some (CDI)SessionScoped bean before I
load a .xhtml JSF page ? Now I call init() if user select the page from
site menu (with p:menutitem). But what to do if the user use browser
address line to type url directly?

No comments:

Post a Comment