-
Notifications
You must be signed in to change notification settings - Fork 158
/
PROPOSAL.html
112 lines (86 loc) · 3.2 KB
/
PROPOSAL.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>Proposal for Validator Library Package</title>
</head>
<body bgcolor="white">
<div align="center">
<h1>Proposal for <em>Validator</em> Package</h1>
</div>
<h3>(0) Rationale</h3>
<p>There is a need for the validation of JavaBeans to validate
user input from forms and validate business rules. There is also a
need to define different validation rules and error messages based on
the user's locale.
</p>
<p>The Validator package will provide the capability to configure
validators (validation methods) with different method signatures.
So the basic framework can have an interface built on it to deal
with validations on web layers, ejb layers, etc.
</p>
<h3>(1) Scope of the Package</h3>
<p>The package shall create and maintain a package that provides
basic validation functionality.
</p>
<p>
The package should :
<ul>
<li>Provide in an easy way to define validations for fields</li>
<li>Provide internationalization support for validation rules and error messages.</li>
<li>Provide an easy way to define validators</li>
<li>Provide a way to store information in a validator definition so JavaScript client
side validation can be auto-generated matching the server side validation.</li>
</ul>
</p>
<p>
Non-goals:
<ul>
<li>This package does not auto-generate JavaScript client side code.</li>
</ul>
</p>
<h3>(1.5) Interaction With Other Packages</h3>
<p><em>Validator</em> relies on:
</p>
<ul>
<li>Jakarta Regexp</li>
</ul>
<h3>(2) Required Jakarta-Commons Resources</h3>
<ul>
<li>Commons BeanUtils</li>
<li>Commons Collections</li>
<li>Commons Digester</li>
</ul>
<ul>
<li>CVS Repository - New directory <code>validator</code> in the
<code>jakarta-commons</code> CVS repository.</li>
<li>Initial Committers - The list is provided below. </li>
<li>Mailing List - Discussions will take place on the general
<em>[email protected]</em> mailing list. To help list
subscribers identify messages of interest, it is suggested that the
message subject of messages about this component be prefixed with
[Validator].</li>
<li>Bugzilla - New component "Validator" under the "Commons" product
category, with appropriate version identifiers as needed.</li>
<li>Jyve FAQ - New category "commons-validator" (when available).</li>
</ul>
<h3>(4) Initial Committers</h3>
<p>The initial committers on the Validator component shall be:</p>
<ul>
<li><a href="mailto:[email protected]">David Winterfeldt</a></li>
</ul>
<br><br>
</body>
</html>