JSF – selectManyCheckbox example

This post shows sample codes that uses JSF html:selectManyCheckbox that allows users to select one or more items before submitting the form or page.

JSF – Basic Form Validation for Required Fields

[wp_ad_camp_5] This post demonstrates how to perform validation on required fields in JSF. Requirements Stuff used in this post. JSF 2.2 javax.faces-2.2.8.jar JDK 8 JSF Managed Bean This is our managed bean is a Java class annotated with @ManagedBean. The

JSF – Data Table Example

This post shows a sample usage of JSF Data Table to construct a basic HTML on a page. You can download the source codes from the GitHub link provided at the very bottom of this page.

Java 9 Stream filter, takeWhile, dropWhile methods

This post demonstrates how to use the new methods – takeWhile and dropWhile – of the Stream interface in Java 9 Jigsaw. We’ll touch briefly on Stream.filter(Predicate p) just to get comfortable before trying out the new methods.