Category: Java

jsf tutorials

Creating Lists and Maps as Managed Beans in JSF

This example explains how to use Lists and Maps as Managed Beans in JSF. It is recommend to put the managed beans in a separate managed-beans.xml file to keep a clear overview of managed...
jsf tutorials

JSF Bookmarkable View Parameters Example

Prior to JSF 2.0 it was hard to accomplish bookmarkable URL’s. Now since JSF 2.0 they have made a good effort. We now have a new category of parameters. JSF Bookmarkable View Parameters. These...
jsf tutorials

Creating a Custom EL Resolver in JSF

In this tutorial we will create a custom el resolver. We can extend the ELResolver class to create our own implicit variables in JSF. The following are three simple steps to add custom implicit...
jsf tutorials

JSF Managed Property Example

This example shows how to use jsf managed property. When annotating a field with @ManagedProperty the values are set immediately after the bean’s construction and are available during @PostConstruct. Be informed that you can...
jsf tutorials

JSF Passing Request Parameters

This example shows you how you can pass request parameters from a view to your backing bean or view. We are using the <f:param> which will add a request parameter name-value pair to the...