SPRNET-1082 - Bad packaging in 3.5 lib directory
misc doc updates
This commit is contained in:
@@ -755,15 +755,16 @@ on exception (#e is T(System.ArithmeticException)) retry 3x rate (1*#n + 0.5)</p
|
||||
<para>Spring provides a UI-agnostic <link linkend="validation">validation
|
||||
framework</link> in which you can declare validation rules, both
|
||||
progammatically and declaratively, and have those rules evaluated against
|
||||
an arbitrary .NET object. Spring provides additional support for rendering
|
||||
of validation errors within Spring's ASP.NET framework. (See the section
|
||||
on <link linkend="validation-aspnet-usage" os="">ASP.NET usage tips</link>
|
||||
for more information.) However, validation is not confined to the UI tier.
|
||||
It is a common task that occurs across most, if not all, applications
|
||||
layers. Validation that is performed in the UI layer is often repeated in
|
||||
the service layer, in order to be proactive in case non UI-based clients
|
||||
invoke the service layer. Validation rules completely different from those
|
||||
used in the UI layer may be used on the server side.</para>
|
||||
an arbitrary .NET object. Spring provides additional support for the
|
||||
rendering of validation errors within Spring's ASP.NET framework. (See the
|
||||
section on <link linkend="validation-aspnet-usage" os="">ASP.NET usage
|
||||
tips</link> for more information.) However, validation is not confined to
|
||||
the UI tier. It is a common task that occurs across most, if not all,
|
||||
applications layers. Validation that is performed in the UI layer is often
|
||||
repeated in the service layer, in order to be proactive in case non
|
||||
UI-based clients invoke the service layer. Validation rules completely
|
||||
different from those used in the UI layer may also be used on the server
|
||||
side.</para>
|
||||
|
||||
<para>To address some of the common needs for validation on the server
|
||||
side, Spring provides parameter validation advice so that applies Spring's
|
||||
|
||||
@@ -16,7 +16,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<chapter xml:id="validation" xmlns="http://docbook.org/ns/docbook" version="5">
|
||||
<chapter version="5" xml:id="validation" xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:ns5="http://www.w3.org/1999/xhtml"
|
||||
xmlns:ns4="http://www.w3.org/2000/svg"
|
||||
xmlns:ns3="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:ns2="http://www.w3.org/1999/xlink"
|
||||
xmlns:ns="http://docbook.org/ns/docbook">
|
||||
<title>Validation Framework</title>
|
||||
|
||||
<section>
|
||||
@@ -351,6 +356,49 @@
|
||||
|
||||
<entry>not null or an empty string</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>system.DateTime</entry>
|
||||
|
||||
<entrytbl cols="1">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>Not System.DateTime.MinValue and not
|
||||
system.DateTime.MaxValue</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</entrytbl>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>One of the number types.</entry>
|
||||
|
||||
<entrytbl cols="1">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>not zero</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</entrytbl>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>System.Char</entry>
|
||||
|
||||
<entrytbl cols="1">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>Not System.Char.MinValue or whitespace.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</entrytbl>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>Any reference type other than System.String</entry>
|
||||
|
||||
<entry>not null</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
@@ -880,4 +928,4 @@ bool userInfoIsValid = userInfoValidator.Validate(userInfo, errors);
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user