On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘Java Server Faces’ tag

Using the RichFaces Calendar

without comments

Introduction

The calendar component ensures error free entry of dates in a predictable way. This post presents two examples of using the RichFaces calendar component with its dedicated managed bean, included in baseproject.
Read the rest of this entry »

Written by admin

March 27th, 2014 at 10:51 am

JSF Validation and Error Messages

without comments

Introduction

This post illustrates the use of a JSF Validator class that validates data supplied to a dialog’s input text field. Error messages are then placed into the Faces Context for display.
Read the rest of this entry »

Written by admin

February 26th, 2014 at 5:59 am

JSF Resources

without comments

Introduction

Since the release of JSF 2.0 in July of 2009, JavaScript files, Cascading Style Sheets (CSS), images, and other files are placed into a resources directory in the root of the web application. For a Maven based application, this is the src/main/webapp/ directory. Sub-directories under this directory are referred to as libraries. Any library can be created there, and the libraries for css, images, and javascript are the common ones.
Read the rest of this entry »

Anatomy of a Web Application

without comments

Introduction

This post is for the reader who is curious about the architecture, components and technologies that make up a web application.
Read the rest of this entry »