About Phillip Webb
List/Grid Author Archives Subscribe to the RSS feed of Phillip Webb

Spring & JSF integration: Exception Handling
Most JSF developers will be familiar the “An Error Occurred” page that gets displayed when an unexpected exception is thrown somewhere their code. This page is really useful when ...

Spring & JSF integration: Select Items
With JSF, to use comboboxes, listboxes and checkboxes, you need to be aware of the javax.faces.model.SelectItem class. A SelectItem represents a single selectable option; it contains ...

Spring & JSF integration: Internationalization and Localization
If you are working on a JSF application that is targeted to multiple languages, you may well be familiar with the <f:loadBundle> tag. Even if your application does not support ...

Spring & JSF integration: Converters
When working with any web framework, you invariable run into the need to convert data input by the user from a String to some other type. Both Spring and JSF have converter strategies ...

Spring & JSF integration: Pagination
When working with large datasets you often need to present data in a paged format. Pagination is an interesting problem because it tends to cut across all layers of your application, ...

Spring & JSF integration: Dynamic Navigation
Often your JSF application will need to move beyond basic static navigation and start to make dynamic navigation decisions. For example, you may want to redirect users based on their ...

DBUnit, Spring and Annotations for Database testing
If you have ever tried writing database tests in Java you might have come across DBUnit. DBUnit allows you to setup and teardown your database so that it contains consistent rows that ...

Integrating Spring & JavaServer Faces : Improved Templating
With the release of version 2.0 Facelet templating became a core part of the JSF specification. Using <ui:composition> and <ui:decorate> tags it becomes pretty easy to build ...

Spring & JSF integration: MVC Nuts and Bolts
I have attempted to integrate JSF with Spring MVC in the past, and whilst my first attempt worked, it was far from ideal. This time around I decided to take a few key decisions to ...

Spring & JSF integration: Navigation
This is the first in what I hope will be a series of blogs about my efforts to provide deep integration between Spring and JavaServer Faces. Everything mentioned here is a “work ...


