I need to be able to grab a user's information from a database and pre populate some fields on the page from this information, using args sent in a GET request in the database's query.
What is the best way of performing this "on page load" type of functionality using standard JSF?
Couple possibilities I have found so far:
- performing the initialization in the backing bean constructor (not a huge fan since I'd be making database calls from the constructor)
- Using a phase listener