In this post, we will see how we can create our own custom constraints tailored to our specific requirements.
X12 EDI Examples
Hibernate Validator - Creating custom constraints–Example
Hibernate Validator Example 2
In this example, we will see some more validation constraints such as @email, @past, @length, etc. And also we will also define custom error message.
Hibernate Validator Examples
Here is the introduction notes from the hibernate documentation
In the first example, we will see very basic not null constraint validation. Here is the Step by Step Tutorial.
In the second example, we will see some more constraint validation. Here is the Step by Step Tutorial.
In this example, we will see how we can create our custom constraint validation. Here is the Step by Step Tutorial.
In this example, we will see how we can create our custom constraint @Required. Here is the Step by Step Tutorial.
In this example, nothing is new, we will take care example 2 and will use the utility class to perform validation. Here is the Step by Step Tutorial.
ZK Examples Index Page
ZK Projects
ZK 7 Project Start-up Kit – Theme with full source code and support |
ZK 8.5 Version Video Tutorials . All New created in July 2018
ZK Free Examples and Tutorials
ZK Maven | Create and Run Your First ZK 7 Application with Eclipse and Maven | |
ZK 7 | ZK 7 Simple Form Design(s) Part 1 | |
ZK 7 | ZK with External style sheet | |
ZK MVVM | MVVM – Introduction | |
ZK MVVM | MVVM Examples–Example 1 | |
ZK MVVM | MVVM Examples–Example 2 | |
ZK 7 | ZK MVVM Simple List Box Example | |
ZK 7 | How to show particular row in ZK Listbox with different color in MVVM | |
ZK 7 | ZK 7 MVVM List Box Select All and Unselect all Records | |
ZK 7 | ZK MVVM List box with check box – Simple Example | |
ZK List Box | Move List box item up and Down using MVVM Design Pattern | |
ZK List Box | List Item Double click event on selected Item using MVVM | |
ZK List Box | ZK List box inline Editing with Add New and Delete action | |
ZK List Box | ZK MVVM List box with Dynamic Template | |
ZK 7 Hibernate | ZK 7 + MySQL + Hibernate + Spring + Integration example | |
ZK 7 Excel | ZK 7 Export to Excel | |
ZK File Upload | Simple example to upload PDF file in the server and show the content using iframe - MVVM | |
ZK File Upload | ZK 7 upload PDF to server and show in the screen using MVVM–Part 2 | |
ZK Tab box | Load Tab box Content on Demand Using MVVM (Onselect Event) | |
ZK Grid | ZK Grid inline Editing with Add New and Delete action | |
ZK Upload | ZK Dropupload example | |
ZK Report | Create a Report with ZK using iReport 5.1.0 and JasperReports | |
ZK Menu | ZK Dynamic Menu Part 1 | Demo |
ZK Tree | ZK Dynamic Menu Part 2 Using Tree Component | Demo |
ZK Group Box | ZK Dynamic Menu Part 3 Using Group Box and Tool Bar Button | Demo |
ZK Tab Box | ZK Dynamic Menu Part 4 Using Tab box and Tool Bar Button | Demo |
ZK Menu | ZK Dynamic Menu Part 5 Using Tab Box, Tool Bar and Group Box | Demo |
ZK 7 Nav Bar | ZK Dynamic Menu Part 6 Using ZK 7 Navigation Bar | |
ZK Combo | MVC Two combo Box – Fill second combo based on first combo selection | |
ZK Combo | ZK MVVM Combo Box value Converter | |
ZK Validation | Simple Example for ZK Input Form Validation | |
ZK MVC | Listing Search using MVC Pattern | Demo |
ZK MVC Passing arguments | Part 1, This article will focus on the How to pass some arguments from one window(Parent) to modal window(Child) where child window does not have any controller attached. | Demo |
ZK MVC Passing arguments | Part 2, This article will focus on the How to pass some arguments from one window(Parent) to modal window(Child) where child window attached to the controller and we will receive the arguments in the controller and display back to UI. | Demo |
ZK MVC Passing arguments | Part 3, This article will focus on the How to pass some arguments from one window(Parent) to modal window(Child) where child window attached to the controller and we will receive the arguments in the controller and display back to UI. Same as Part 2, but we will use ZK ‘s annotated data binding manager utility. | Demo |
ZK MVC Passing arguments | Part 4, This article will focus on the How to return values from the child window (Modal) to the Calling Parent Window using ZK Event Queues concept. | Demo |
ZK MVC Passing arguments | Part 5, This article will focus on the How to return values from the child window (Modal) to the Calling Parent Window using ZK Send Event | Demo |
ZK MVC Passing arguments | Example on Passing arguments in MVC | Demo |
ZK MVVM Passing arguments | Part 1, This article will focus on the How to pass some arguments from one window(Parent) to modal window(Child) where child window does not have any VM attached. | Demo |
ZK MVVM Passing arguments | Part 2, This article will focus on the How to pass some arguments from one window(Parent) to modal window(Child) where child window attached with VM and arguments are received in the VM and update the UI. | Demo |
ZK MVVM Passing arguments | Part 3, This article will focus on the How to pass some arguments from one window(Parent) to modal window(Child) where child window attached with VM and arguments are received in the VM and update the UI. After child window is closed, we will return the value to the parent window. | Demo |
ZK MVVM Passing arguments | Part 4, In this post, we will see how we can pass parameter between two zul files attached by MVVM using URL Redirect | Demo |
ZK Login Form CSS | ZK Login form Design | |
ZK Login | ZK + Spring Security Login form–Part 1 | |
ZK Login | ZK + Spring Security Login form–Part 2 | |
ZK Login | ZK + Spring Security Login form–Part 3 | |
ZK Login | ZK + Spring Security Login form– Additional Login Parameters - Part 4 | |
ZK Login | ZK + Spring Security Login form–Part 5 |
ZK 7 CSS
ZK Window | ZK 7 Window CSS Example1 | |
ZK Group Box | ZK 7 Group Box Example 1 | |
ZK 7 | ZK 7 Message box CSS | |
ZK TextBox | Small Search Box |
ZK 6 CSS
ZK Small Application
ZK MVVM CRUD Example without DB Connection Step by step tutorial on ZK MVVM CRUD Operation without any DB Connection. online Demo here |
ZK MVVM With Spring + JPA + Hibernate Entity Manager |
ZK MVVM With Spring + Hibernate 4 API Direct |
ZK MVC CRUD With Spring 3 + JPA + Hibernate 4 Entity Manager. |
ZK + Spring Security Custom Login form. |
ZK + Spring + MVVM + Hibernate - Small Application Highlights |
ZK 7 + Spring + MVVM + Hibernate + MySQL + List Box Highlights |
MVVM Command annotation and Notify change example
Here is an example, how to pass parameter on a zul through MVVM Command binding annotation.
ZK Hibernate one to Many annotation mapping bidirectional CRUD example using MVVM
In this post, we will see how we can implement hibernate one to Many mapping (master & detail) bidirectional using ZK Components
One to many mapping using bidirectional relationship – onetoMany as Owner
First let us look the hibernate documentation on this as follows
EMR In-house Lab workflow
Back to domain
In my last company, we follow the below workflow for the in-house lab order. Please note : Even though I mention as use case, but it may not have all the typical structure of a use case. I will explain in my own way.
One to many mapping using bidirectional relationship– ManytoOne as owner
First let is look the hibernate documentation on this as follows
Hibernate–Java Environment setup
We will see how we can setup the Environment in eclipse to learn our examples in hibernate.
EDI 5010 Documentation 837 Professional - Loop 2320 Other Subscriber Information
2320 Other Subscriber Information
EDI 5010 Documentation 837 Professional - Loop 2300 Health care Diagnosis Code
2300 Health care diagnosis code
EDI 5010 Documentation 837 Professional - Loop 2300 Prior Authorization or Referral Number
2300 Prior Authorization or Referral Number