getter « Facelets « JSF Q&A





1. Why is BackingBean method called multiple times when requesting facelet?    stackoverflow.com

I'm working and learning about JSF + Facelets these days. I have a BackingBean and a Facelet xHTML page. When I request the facelet-page (only one time) the backing-bean-method is called ...

2. Why is the getter called so many times by the rendered attribute?    stackoverflow.com

Related to a previous example, i tried to monitor my get/set methods on the server (when they are called, and how often). So, my actual been look such :

@ManagedBean(name="selector")
@RequestScoped
public class Selector ...