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 – Managed Bean Custom Validation Methods
This post demonstrates how to create customer validation methods in the same @ManagedBean class and use them accordingly.
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.
How to write XML in Kotin using DOM
This post demonstrates how to write XML files using DOM in Java.
Change Java Language Level in IntelliJ IDEA
This post shows how to change Java Language Level in IntelliJ IDEA .
Autowire beans to a List in Spring using Java
This post is about how to auto-wire a set of beans to a list in Spring. Essentially, we need to add @bean’s to an list.
Vagrant – Access Apache2 Web Server on virtual machine from host
This post shows how to configure vagrant to allow access to Apache2 web server (URL to Apache Ubuntu Default Page) running in virtual machine from the host system.
Access environment variable in Node.js
This short post shows how to access environment variables in Node.js.