Reputation: 11637
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:
Upvotes: 0
Views: 426
Reputation: 8054
My suggestion (If I am guessing correct what you are trying to accomplish) is
With this approach you do not need a phase listener, and the DB code is not in a constructor of a backing bean but in an action method (as it should).
Upvotes: 1