controller « Bean « JSF Q&A





1. JSF - Updating Model Values in Controller Bean    stackoverflow.com

I have a Controller bean (SearchController) that has two managed bean as managed properties (SearchCriteria, SearchResults; both of which are session scoped). When the user hits the find button, the action method ...

2. Can JSF2 use beans as request-based controllers without a framework?    stackoverflow.com

I'm working on the development for a web application using Java Server Faces for a group project. The majority of us have experience using request-based frameworks in PHP and we are ...

3. jsf and controller, bean    stackoverflow.com

I want to learn that if I can define user input parameters at bean class and take these input parameters from a controller function with submit button : for example input jsp ...

6. PreDestroy callback function in action controller bean?    coderanch.com

Hi! I have requestScoped controller bean class with various action methods. After each of these action methods have run, I would like to invoke a "generateMessages" method. I could of course just invoke that method at the end of each action method, but was hoping for something more simple. So I looked into the @PostConstruct and @PreDestroy callback annotations. PreDestroy seemed ...