preRenderView-Event triggered before an action (commandbutton)
问题 I am in a little bit of trouble with my preRenderView-Event. My page also uses a commandbutton to submit data but unfortunately the preRenderView-Event is always called before the buttons action is invoked. The preRenderView-Event is responsible for loading data from a service. Since the page is simple and doesnt have to store any data I dont need any Session or ViewScoped-Beans. As far as I understood the event is called in the Render-Response-Phase and the action in the button should happen