jsf

JSF 2.0 Tree Selection Example

Hi there! Today we ‘re gonna see how we could let the user select multiple tree elements, according to JSF 2.0. We all know that JSF is here to ease the server-side user interfaces development, but when it comes to trees, things are getting somehow complicated: JSF does not have a default tree component, so we have to “extend” the ...

Read More »

JSF 2.0 Tree Example

Hi there! Today we ‘re gonna talk about trees’ implementation, according to JSF 2.0. We all know that JSF is here to ease the server-side user interfaces development, but when it comes to trees, things are getting somehow complicated: JSF does not have a default tree component, so we have to “extend” the framework’s functionality/implementation, by combining it with a ...

Read More »

JSF Components Listeners Example

In this example of JSF Components Listeners, we will discuss about various component listeners provided by Java Server Faces and show you different ways of using the listeners. In a web page when the user makes changes to the input component or performs an action on the UI component, the JSF fires an event. These events can be handled by application ...

Read More »

JSF Standard Converters Example

In this example of JSF Standard Converters, we will show you how Java Server Faces standard converters work and also discuss the various options available to use standard converters. When a request is sent from the browser to the application server, the form values are sent as String. To convert the String into Java Objects, we need to use converters. ...

Read More »

JSF Facelets Templates Example

In this example of JSF Facelets Templates, we will show you how to use JSF Facelets to create templates in JSF. To provide better user experience web pages in the applications uses similar layout for all pages. In JSF we can use templates to create standard web layouts. We will also discuss about JSF Facelets tags that are used to create ...

Read More »

Introduction to JSF Facelets Templates

There are many times that we found ourselves dreaming of an available UI template to help us develop as fast as possible the web application that we are thinking of. JSF Facelets Templates is the solution for creating easy to extend and use UIs. Thus, we can reuse code and avoid recreating similarly constructed pages. Today’s example will demonstrate a ...

Read More »

JSF Internationalization Example

So, you want your web app to be famous all-over the world?! Then you obviously have to support multiple languages, something also known as i18n or internationalization in the software industry. Today’s example is a simple yet interesting guide according to JSF internationalization. Specifically, our sample application will be able to translate a message between English and Greek (there will ...

Read More »

JSF Standard Validators Example

Hey geeks, today we ‘re gonna talk about JSF Standard Validators. Just like any other framework, JSF is here to help us save time from common development tasks, such as form validations. We can obviously write our own, custom validators for our site’s forms, but there are some standard validators provided from JSF that handle checks for string lengths and ...

Read More »

JSF Resource Bundles Example

In this example we will show you how to use resource bundles in Java Server Faces. Resource bundles in JSF are key value pair of strings stored in .properties file extension. Resource bundles helps in maintainability of the application by keeping messages at one place. We will discuss about different methods available to load the resource bundle and show you how to ...

Read More »

JSF Navigation Example

In this example of JSF Navigation, we will show you how to use various navigation techniques available in Java Server Faces. A set of rules for choosing the next page based on a action, for example a click of button are called navigation rules. In Java Server Faces technology, navigation consists of one or more navigation rules for an application. We ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns