On Java Development

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

Archive for February, 2014

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

Overriding RichFaces CSS values

without comments

Introduction

This post shows how to override RichFaces’ CSS values for a given component.
Read the rest of this entry »

Written by admin

February 20th, 2014 at 10:11 am

Sorting Records Using JPA Annotations

without comments

Introduction

This post shows how to use JPA Annotations to sort the detail records of a @OneToMany relationship. The details about how to define a @OneToMany relationship can be read in the post titled Describing a Header/Detail Relationship Using JPA Annotations With Hibernate. This post expands on the annotations defined for the files PHSPRRQHD and PHSPRRQDT.
Read the rest of this entry »

Written by admin

February 7th, 2014 at 10:25 am

Facelets Templating

without comments

Introduction

This post is about Facelet templates that are used to define page composition. Templates makes it possible to reuse page segments such as the page’s banner or header. When used throughout the web application’s pages, Facelets simplifies the task of page design, provides the means to apply changes in a single place that can propagate across all pages and helps to ensure a consistent layout from page-to-page.
Read the rest of this entry »

Written by admin

February 1st, 2014 at 10:25 am