Trinidad has a
dependency on JSF 1.1 or later reference implementation. Alternatively MyFaces 1.0.8 may be used, but we are using JSF 1.2. Typically, JSF is used with managed beans, which are JavaBeans components that are managed using the managed bean facility. The managed bean facility instantiates the beans and stores them in the scope. Managed beans are specified using the managed-bean
element in the application configuration resource file—faces-config.xml—
in pre JSF 2.x, or the @ManagedBean
annotation in the bean in JSF Version 2.x. JSF pages may have value binding or component binding to a managed bean. Unless the components are required to be programmatically modified in the managed bean, it is a best practice to use value binding.
Backing beans are managed beans that are associated with UI components on a particular page. Backing beans are typically used to manage the "view" facet of a MVC design pattern with getters/setters for the view properties. Controller...