4. Using Components
Contents > Using Components > JavaServer Faces Components
JavaServer Faces Components
JavaServer Faces is a component technology for building Web applications on the Java platform. It provides a framework that application developers can extend to build complex user interfaces for the Web using standard and custom components.
The JavaServer Faces framework uses the Model-View-Controller (MVC) pattern to separate the model, or the data, of the application from the user interface. This allows you to create multiple views of the same data. The controller element (the Faces servlet) handles user events, updating the model and displaying views as needed.
The views in a JSF application are typically JSP pages (or XHTML pages if you are using Facelets) and these views are enhanced through the use of special tags. These tags encapsulate user interface (UI) components that you can use to implement the logic of your application. The two standard JSF tag libraries are the JSF Core and the JSF HTML tags.
The JSF Core tags allow you to use the main features of the JSF framework, such as conversion, validation, and event handling, while the JSF HTML tags represent HTML user interface components such as text fields, radio buttons, tables, and forms. JSF also includes many other types of components, including:
|