mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
WW-4093
Applied JavaDoc patch. Thanks Johno Crawford for contributing. git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1490175 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-2
@@ -79,7 +79,7 @@ import java.lang.annotation.Target;
|
||||
* <td class='confluenceTd'>Enum value from ValidatorType. Either FIELD or SIMPLE can be used here.</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td class='confluenceTd'>expression</td>
|
||||
* <td class='confluenceTd'>regex</td>
|
||||
* <td class='confluenceTd'>yes</td>
|
||||
* <td class='confluenceTd'> </td>
|
||||
* <td class='confluenceTd'>The regex to validate the field value against.</td>
|
||||
@@ -91,7 +91,7 @@ import java.lang.annotation.Target;
|
||||
*
|
||||
* <pre>
|
||||
* <!-- START SNIPPET: example -->
|
||||
* @RegexFieldValidator( key = "regex.field", expression = "yourregexp")
|
||||
* @RegexFieldValidator( key = "regex.field", regex = "yourregexp")
|
||||
* <!-- END SNIPPET: example -->
|
||||
* </pre>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user