-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Java EE 7 Web Application Development
By :
The caseworker project shows a master-detail application. Our worker starts the application and sees a list of case records, which contains the names and the passport details for each applicant. This is the master record. Each case record may have a zero or more task records attached. Those are the details records of the master. Each master record also contains a state property that shows where each applicant is in the process. Our user is permitted to access all of the case records and move the current state from start to finish.
There is only one HTML file in the caseworker example, and it serves as the template in the src/main/webapp/index.xhtml file. Remember, this is meant to be a single-page application!
<!DOCTYPE html>
<html ng-app="app">
<head>
...
<link href="styles/bootstrap.css" rel="stylesheet">
<link href="styles/main.css" rel="stylesheet">
</head>
<body ng-controller="CaseRecordController...
Change the font size
Change margin width
Change background colour