JSF tutorial

Let’s look into a JSF example.This JSF example gives a good overview of the different components in JSF. Create the web page using data table and radio button. How to use the Data table Radio button Error messages Resource Bundle JSF Example- Data Table Create a new web page and select the data table. Set […]

JSF Binding

In a normal JSF application there will be one or more backing beans.Backing bean can also define methods that can perform different functions associated with a component, validation, event handling, and navigation processing. JSF – faces-config.xml Description Defines the backing beans : Name used in EL in template Scope controlled (request, session, etc.) Defines navigation […]

FacesServlet creates an object called FacesContext, which contains information necessary for request processing. FacesContext contains all of the per-request state information related to the processing of a single JavaServer Faces request, and the rendering of the corresponding response. This means that the URL of every request must contain the /faces/ pattern, as specified in the […]

Let’s understand the life cycle of JSF. A Java Server Faces application supports two kinds of responses and two kinds of requests: Faces response: A servlet response that was created by the execution of the Render Response Phase of the request processing life cycle. Non-Faces response: A servlet response that was not created by the execution of […]

Java Server Faces technology is a server side framework for building user interfaces for web applications. JSF framework as a toolbox  that is full of  ready to use components where you can quickly  and easily add and reuse  these components many times in a page and capture events generated by actions on these components. So […]