field
Description
Can be used in
bean and formValidation
Syntax
<field regex="string" name="string" />
Listing 1: field Syntax
Sample
<serviceProxy port="2000"> <formValidation> <field name="age" regex="\d+" /> </formValidation> </serviceProxy>
Listing 2: field Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
name | true | - | Name of the form parameter. | age |
regex | true | - | Java Regular expression | \d+ |