The examples below illustrate the use of JSF as specified at https://github.com/eclipse-ee4j/mojarra. In the larger ecosystem of JakartaEE JSF is a model, view and controller API that delivers you with an abstraction layer on top of the Servlet API.
- A f:actionListener example
- A f:ajax example
- An injected ApplicationMap example
- An ApplicationScoped bean example
- A h:commandScript example
- An injected ExternalContext example
- An injected FacesContext example
- A h:form example
- An injected InitParameterMap example
- An h:inputFile example
- An h:inputSecret example
- An h:inputText example
- A h:link example
- A CDI managed converter example
- An injected ManagedProperty example
- A CDI managed validator example
- A h:outputLabel example
- A JSF h:outputStylesheet example
- A h:outputText example
- A f:param example
- An injected RequestCookieMap example
- A RequestScoped bean example
- An injected SessionMap example
- A SessionScoped bean example
- An injected ViewMap example
- A ViewScoped bean example