practika-code

learning for coding and coding for learning

View on GitHub

VideoTutorial 2 del Taller Práctico de Java Server Faces. Managed Beans en JSF.

  1. what is a managed bean
  2. types of beans (model beans, control beans, helper beans, util beans)
  3. how to declare managed beans
    • @ManagedBean
    • CDI bean (content and dependency inyection) @Named + beans.xml at WEB-INF
    • faces-config.xml as
  4. Managed beans scope
    • application
    • session
    • view
    • request
  5. Declare javax.faces.webapp.FacesServlet in web.xml
  6. Templates
  7. JSF Html Tags
  8. Generated code
  9. Call a bean property in the template