Skip to content

Commit 3012ee7

Browse files
committed
adding vraptor-simple-validator info
1 parent 771c22a commit 3012ee7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

vraptor-site/content/en/docs/validation.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,8 @@
251251
~~~
252252

253253
This code will print "name field have accents" beside the input text.
254+
255+
256+
## Programmatic validation
257+
258+
If you want, you can use the [vraptor-simple-validator](/en/docs/plugins/#vraptor-simple-validator) plugin to do your validations in a fluent way. It provide us a diversity of defaults validations that you may want to use.

vraptor-site/content/pt/docs/validacao.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,8 @@
250250
~~~
251251

252252
Que irá imprimir "nome do cliente possui acentuação".
253+
254+
255+
## Validação programática
256+
257+
Caso prefira, você pode usar o plugin [vraptor-simple-validator](/pt/docs/plugins/#vraptor-simple-validator) para fazer validação de forma fluente em seu código. Ele te oferece uma variedade bem grande de estratégias de validação que você provavelmente vai gostar de usar.

0 commit comments

Comments
 (0)