A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://docs.oracle.com/javaee/6/tutorial/doc/gkhwo.html below:

Validating Composite Component Values - The Java EE 6 Tutorial

JavaServer Faces provides the following tags for validating values of input components. These tags can be used with the composite:valueHolder or the composite:editableValueHolder tag.

Table 12-2 lists commonly used validator tags.

Table 12-2 Validator Tags

Tag Name

Description

f:validateBean

Delegates the validation of the local value to the Bean Validation API.

f:validateRegex

Uses the pattern attribute to validate the wrapping component. The entire pattern is matched against the String value of the component. If it matches, it is valid.

f:validateRequired

Enforces the presence of a value. Has the same effect as setting the required element of a composite component’s attribute to true.

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4