Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Articles
Articles_pt
CreateActions
CreateActions_de
SpringControllers_ko
ValidationAndList_pt




JSPWiki v2.2.33

[RSS]


Hide Menu

ValidationAndList


This is version 1. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


Part V: Adding Validation and List Screen - Adding validation logic to the personForm so that lastName is a required field and adding a list screen to display all person records in the database.
This tutorial depends on Part IV: Configuring Tiles and Action CRUD methods.

About this Tutorial

This tutorial will show you how to add Validation logic (client and server-side) to the personForm object using Struts' Validator. We'll also create a list screen using the Display Tag Library to show all records for editing.
I will tell you how I do stuff in the Real World in text like this.

Table of Contents

  • [1] Add XDoclet tags (@struts.validator) to Person.java
  • [2] View JSP with validation added and test
  • [3] Add search tests to DAO and Manager Tests
  • [4] Add search methods to DAO and Manager Interfaces and Implementation classes
  • [5] Add search test to Action Test
  • [6] Add search method to Action
  • [7] Create searchList.jsp and Canoo test
  • [8] Add links to menu

Attachments:


Go to top   More info...   Attach file...
This particular version was published on 06-Nov-2006 13:52:38 MST by MattRaible.