Single Page CRUD With Form Read Me
SinglePageCrudForm is a sample application that demonstrates how to perform database operations (create, read, update, and delete),
all on one page, using Netbeans 6.
These operations include creating new database records, deleting an existing entries, updating existing entries, and of course retrieving the information
from a database. All the data is displayed one record at a time in a simple form consisting of JavaServer (tm) Faces components.
The data consists of fictitious trips taken by fictitious employees.
- Trips are shown for the currently selected Person. To see another person's trips, select a different Person in the drop-down list.
- To navigate to another trip, use the VCR controls under the Person drop-down list.
- To create a new trip for the selected person:
- Select Create :- this appends a new blank trip at the end of the current trips.
- Fill in the data in the trips form.
- Select Save to save the data to the database.
- (Optionally, you can select Cancel Create to throw away any changes.)
- To delete a trip, navigate to it using the VCR controls if necessary, and select Delete.
- To change any of the data in the currently selected trip, edit the data and select Save.