RE: Server-side validation without submit

2014-09-16 Thread Davide Vecchi
That is right, I just want to show validation errors. I do not need to add dynamic fields to the form. -Original Message- From: Lance Java [mailto:lance.j...@googlemail.com] Sent: Tuesday, September 16, 2014 14:46 To: Tapestry users Subject: Re: Server-side validation without submit

Re: Server-side validation without submit

2014-09-16 Thread Lance Java
It's no different to a normal zone update (eg via EventLink) I was assuming he was just wanting to show validation errors in zones. This shouldn't cause any problems. If he wants to add dynamic fields to the form, he'll need to use the FormInjector instead. On 16 Sep 2014 13:40, "Geoff Callender"

Re: Server-side validation without submit

2014-09-16 Thread Geoff Callender
Lance, wouldn't that require updating zones within the Form. Doesn't that cause problems? On 16 Sep 2014, at 10:09 pm, Lance Java wrote: > You could use the observe mixin here: > http://tapestry-stitch.uklance.cloudbees.net/observedemo

RE: Server-side validation without submit

2014-09-16 Thread Davide Vecchi
> You could use the observe mixin here: > http://tapestry-stitch.uklance.cloudbees.net/observedemo Thanks a lot, it looks great, I'll definitely try to use it. Cheers

Re: Server-side validation without submit

2014-09-16 Thread Lance Java
You could use the observe mixin here: http://tapestry-stitch.uklance.cloudbees.net/observedemo

Server-side validation without submit

2014-09-16 Thread Davide Vecchi
need to do this server-side validation without submitting the form is that I have to integrate into my Tapestry application a 3rd party JavaScript component that shows groups of input fields in different steps but uses only one big form to contain the fields for all the steps, and submits the form

Re: Form server side validation in zone

2012-11-20 Thread Lance Java
e in context: http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718136.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache

Re: Form server side validation in zone

2012-11-20 Thread nquirynen
nabble.com/Form-server-side-validation-in-zone-tp5718026p5718135.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

Re: Form server side validation in zone

2012-11-20 Thread Lance Java
nabble.com/Form-server-side-validation-in-zone-tp5718026p5718134.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mai

Re: Form server side validation in zone

2012-11-20 Thread nquirynen
Can you give me a bit of explanation of what to do? Thanks Nathan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718131.html Sent from the Tapestry - User mailing list archive

Re: Form server side validation in zone

2012-11-15 Thread Lance Java
over the hidden zone and copy/move any interesting attributes from the hidden zone to the visible form. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718033.html Sent from the Tapestry - User mailing list archive at

Re: Form server side validation in zone

2012-11-15 Thread Thiago H de Paula Figueiredo
On Thu, 15 Nov 2012 09:55:15 -0200, nquirynen wrote: - More client side validation feeling - avoid unnecessary rerendering, database queries, etc. - some elements in the zone that were visually altered with javascript get reset to their initial state - ... In this case, you're going beyo

Re: Form server side validation in zone

2012-11-15 Thread nquirynen
rs() which returns just a List of the error messages. So I have no clue how to get a list of the needed fields to get their id's. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718030.html Sent from the Tapestry - Us

Re: Form server side validation in zone

2012-11-15 Thread Lance Java
Although I'm sure it can be done... it sounds like a lot of effort for not much gain. Why don't you want update the full zone? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718027.html Sent from the Tapestry - Us

Form server side validation in zone

2012-11-15 Thread nquirynen
Hi, I have a form where I do some server side validation on submit. This form is in a zone and gets submitted with ajax. Now if I want the fields with errors to be decorated accordingly, I have to update this zone. If I don't want to update the full zone, but just decorate these fields

Re: Server Side Validation with ajax form loop work around

2012-04-18 Thread Geoff Callender
rsisted data to the new session. >>> >>> >>> void onActivate() { >>> System.out.println("onActivate " + this.pr); >>> >>> if (this.pr == null) { >>> this.pr = prPersist !=

Re: Server Side Validation with ajax form loop work around

2012-04-17 Thread David Canteros
sist = null; > > } > > > >} > > > >Class onActivate(Long prId) { > > > >PurchaseRequest purchaseRequest = prPersist != null ? prPersist : > > (PurchaseRequest) session.get(PurchaseRequest.class, prId); > >} > > > > If

Re: Server Side Validation with ajax form loop work around

2012-04-12 Thread Geoff Callender
> (PurchaseRequest) session.get(PurchaseRequest.class, prId); >} > > If you have any better solutions, please feel free to share. > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p

Re: Server Side Validation with ajax form loop work around

2012-03-22 Thread George Christman
PurchaseRequest.class, prId); } If you have any better solutions, please feel free to share. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5586509.html Sent from the Tapestr

Re: Server Side Validation with ajax form loop work around

2012-03-21 Thread David Canteros
;m using the prPersist to extract and > populate my current lineItem objects before immediately disregarding. Be > sure to implement the value encoder in a similar fashion. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Server-Side-V

Re: Server Side Validation with ajax form loop work around

2012-03-19 Thread George Christman
urrent lineItem objects before immediately disregarding. Be sure to implement the value encoder in a similar fashion. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5578227.html Sent from the Tapestry - User mailing

Re: Server Side Validation with ajax form loop work around

2012-03-19 Thread David Canteros
lineItem == null ? new LineItem() : lineItem; > >if (!request.isXHR()) { >lineItem.setPurchaseRequest(pr); >pr.getLineItems().add(lineItem); >} > >return lineItem; >} >}; >} > &g

Re: Server Side Validation with ajax form loop work around

2012-03-19 Thread George Christman
} }; } Hope this helps. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5577886.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Server Side Validation Workings

2012-03-16 Thread Bob Harner
create a work around for my post related to > server side validation with form loop. > > So my questions is whether or not tapestry persist any of the form data > before returning a validation error or is tapestry relying on the browser > cache to store the values? > > I logge

Server Side Validation Workings

2012-03-16 Thread George Christman
Hello everyone, I'm trying to create a work around for my post related to server side validation with form loop. So my questions is whether or not tapestry persist any of the form data before returning a validation error or is tapestry relying on the browser cache to store the values? I l

Re: Server Side Validation with ajax form loop

2012-03-16 Thread George Christman
ption stating the other table couldn't be eager fetched. Does anybody know how to update a session object with data from a persisted object without getting the hibernate exception? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax

Re: Server Side Validation with ajax form loop

2012-03-14 Thread George Christman
Hi David, I created a jira issue related to this bug. https://issues.apache.org/jira/browse/TAP5-1875 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5565297.html Sent from the Tapestry - User mailing list archive at

Re: Server Side Validation with ajax form loop

2012-03-08 Thread George Christman
tp?type=node&node=5548672&i=0>> > > > > Sounds good to me. Do you want to file the jira issue, or would you like > me > > to? > > > > -- > > View this message in context: > > > http://tapestry.1045711.n5.nabble.com/S

Re: Server Side Validation with ajax form loop

2012-03-08 Thread David Canteros
; Sounds good to me. Do you want to file the jira issue, or would you like me > to? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5540927.html > Sent from the Tapestry - User mailing

Re: Server Side Validation with ajax form loop

2012-03-06 Thread George Christman
Sounds good to me. Do you want to file the jira issue, or would you like me to? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5540927.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Server Side Validation with ajax form loop

2012-03-05 Thread David Canteros
would be nice to get > server side working properly. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5487493.html > Sent from th

Re: Server Side Validation with ajax form loop

2012-02-15 Thread George Christman
David have you figured out how to get around this issue? I'm using clientside validation to over come it for the short term, but it would be nice to get server side working properly. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form

Re: Server Side Validation with ajax form loop

2012-02-06 Thread David Canteros
you ever had a chance to look at this issue > again? > Thanks > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5451139.html > Sent from the Tapestry - User mailing li

Re: Server Side Validation with ajax form loop

2012-02-02 Thread George Christman
Hi Geoff, just curious if you ever had a chance to look at this issue again? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5451139.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Server Side Validation with ajax form loop

2012-01-06 Thread George Christman
Hi Geoff, Implemented your suggestion with the same set of results. My pr object seems to be returned null resulting in the loss of data. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5125845.html Sent from the

Re: Server Side Validation with ajax form loop

2012-01-05 Thread Geoff Callender
lineItem = (LineItem) session.get(LineItem.class, id); >} > >// AjaxFormLoop will overwrite several fields of the obj > returned. >// AjaxFormLoop can't handle null obj, so if null we return > a new empty obj. &

Server Side Validation with ajax form loop

2012-01-04 Thread George Christman
= lineItem == null ? new LineItem() : lineItem; lineItem.setPurchaseRequest(pr); return lineItem; } }; } Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp51205

RE: server side validation

2009-03-26 Thread Jorge Saridis
p of the form > > -Original Message- > From: Jorge Saridis [mailto:jsari...@gmail.com] > Sent: Wednesday, March 25, 2009 7:28 AM > To: users@tapestry.apache.org > Subject: server side validation > > Hello, I have a problem with validations when I set > "clie

RE: server side validation

2009-03-25 Thread DuBois, Thomas F CTR USAF AFMC 639 ACSG/PEC
Place a component at the top of the form -Original Message- From: Jorge Saridis [mailto:jsari...@gmail.com] Sent: Wednesday, March 25, 2009 7:28 AM To: users@tapestry.apache.org Subject: server side validation Hello, I have a problem with validations when I set "clientValidation=

Re: server side validation

2009-03-25 Thread Howard Lewis Ship
No, because Tapestry never ignores server-side validation. On Wed, Mar 25, 2009 at 5:27 AM, Jorge Saridis wrote: > Hello, I have a problem with validations when I set > "clientValidation=false" > Tapestry 5.0.18 ignores validations. > Has anyone got any suggestions? >

server side validation

2009-03-25 Thread Jorge Saridis
Hello, I have a problem with validations when I set "clientValidation=false" Tapestry 5.0.18 ignores validations. Has anyone got any suggestions? Jorge

Re: Cant get FromFragment to skip server side validation

2008-08-20 Thread devilabit
I have had some time to revisit the form fragment today. It seems that for a hidden form fragment section to bypass server side validation client side validation MUST be enabled. Is there any way to get a hidden form fragment with required fields to bypass server side validation on submit? It

Re: Cant get FromFragment to skip server side validation

2008-08-12 Thread devilabit
having an ajax request fired after a blur on the amount field and then if the threshold is breached the server will respond with a JSON update that will set the form fragment to visible. So when the form fragment section is hidden I dont want server side validation for any of its fields but when the

Re: Cant get FromFragment to skip server side validation

2008-08-12 Thread Robert Zeigler
Maybe telling us a bit more about your use case would help. Generally, if you have t:validate="required", it would be safe to assume that you /want/ server-side validation, since relying on client- side validation is insecure. But maybe you're trying to write a cancel butt

Cant get FromFragment to skip server side validation

2008-08-12 Thread devilabit
I am having trouble getting FormFragment to skip server side validation for a simple example I created. The FormFragment is not visible and it has one textfield that has a required validator. eg. test field Is there something simple im missing? I tired with both

Re: [T5] A Question about server side validation

2008-06-19 Thread Marcelo Lotif
Thanks for the response But, to decorate the bad field, i still have to declare it explicitly on the tml (of course, now i understand) I think that would be nice if BEF resolves the field on the fly by it's name or something, since it's intention is to write less than usual... Anyway, thank you f

Re: [T5] A Question about server side validation

2008-06-19 Thread Howard Lewis Ship
Inject the Form object and invoke the recordError() method. On Thu, Jun 19, 2008 at 7:47 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote: > Ok, but how can i return the error to the page with onValidateForm? > With the field validation method, i can throw a ValidationException in > case of failure, an

Re: [T5] A Question about server side validation

2008-06-19 Thread Marcelo Lotif
Ok, but how can i return the error to the page with onValidateForm? With the field validation method, i can throw a ValidationException in case of failure, and then tapestry puts the error message on the top of the form and decorates the bad field. But with onValidateForm i can not do this. I tried

Re: [T5] A Question about server side validation

2008-06-19 Thread Thiago H. de Paula Figueiredo
Em Thu, 19 Jun 2008 10:43:49 -0300, Marcelo Lotif <[EMAIL PROTECTED]> escreveu: I was using a tricky field by field validation on the server side(not cross-validation) inside the BeanEditForm and i realize that to use onValidateFromXXX you have to declare explicitly the id of the field wrappin

[T5] A Question about server side validation

2008-06-19 Thread Marcelo Lotif
Hi all, I was using a tricky field by field validation on the server side(not cross-validation) inside the BeanEditForm and i realize that to use onValidateFromXXX you have to declare explicitly the id of the field wrapping it with a parameter tag. I think this is a little verbose, since i didn't

Re: Tapestry 5 server side validation

2008-06-06 Thread ice96
Thanks! I'm stupid!;) -- View this message in context: http://www.nabble.com/Tapestry-5-server-side-validation-tp17680152p17687166.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscri

Re: Tapestry 5 server side validation

2008-06-06 Thread nille hammer
Hi ice, > public Object onSubmit() > { > return Start.class; > } Rename the method to onSuccess(). That should solve the problem. Regards, nillehammer - original Nachricht Betreff: Tapestry 5 server side validation Gesendet: Do, 05. Jun 2008 Von: ice96<[

Tapestry 5 server side validation

2008-06-05 Thread ice96
Just to prove this is live: After disabling java script validation stop working. Some times after page refresh I can see validatio messanges, but not after click submit button. I have tested on firefox 3 and opera (in linux) -- View this message in context: http://www.nabble.com/Tapes

Re: T5: New Validators and server side validation

2008-04-30 Thread lebenski
+1 I would find this functionality extremely useful. Server-side validation onBlur has so many applications. At the moment the solution I have come up with is: 1) Use the T5Components OnEvent annotation, and attach a blur event to the field. 2) Do my server side validation (in this case

Tap 5.0.11 : FormFragment with server side validation

2008-03-22 Thread Shing Hing Man
I have the following simple FormFragment which is inside a form component with server side validation. Married ? There are two problems. 1) Checked

Re: T5: New Validators and server side validation

2008-03-04 Thread LakshithaS
d this is fired from the client and from the >> server!). I'd suggest T5 move to such a design. >> >> - Original Message - >> From: "Bill Holloway" <[EMAIL PROTECTED]> >> To: "Tapestry users" >> Sent: Wednesday, May 16, 2007

Re: T5 - BeanEditForm server side validation question

2007-12-09 Thread Chris Campbell
Very good. For completeness for anyone else reading this, I did the following: Added to the java class @Component private BeanEditForm _form; public BeanEditForm getForm() { return _form; } and changed template to ( notice the Thanks! Filip S. Adamsen wrote: > Hi Chris, > > Simply inj

Re: T5 - BeanEditForm server side validation question

2007-12-09 Thread Filip S. Adamsen
Hi Chris, Simply inject the BeanEditForm into your page class and use that to record the errors. You'll need to give the BeanEditForm an id in your template and then use the @Component annotation to inject it. Details are here: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/

T5 - BeanEditForm server side validation question

2007-12-09 Thread Chris Campbell
Simple question from a noob: Following form example, mostly works well. Now I want to do some cross validation server side, and can do that, however I cannot figure out how to set the error message on the form. My class has: @Inject private BeanModelSource _beanModelSource; @Inject priva

Re: T5: New Validators and server side validation

2007-05-23 Thread Nick Westgate
+1 for this. I thought you'd missed it, and was going to bring it up on the dev list. But a week later ... GMail "star" to the rescue? ;-) Any thoughts from others on this? Cheers, Nick. Howard Lewis Ship wrote: I agree: - onblur vs. onform submit - option to validate via server-round trip (

Re: T5: New Validators and server side validation

2007-05-23 Thread Howard Lewis Ship
Original Message - From: "Bill Holloway" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Wednesday, May 16, 2007 2:27 PM Subject: Re: T5: New Validators and server side validation > That's got it, Ben. Thanks. Wish I knew more about javascript > prototy

Re: T5: New Validators and server side validation

2007-05-17 Thread kranga
27 PM Subject: Re: T5: New Validators and server side validation That's got it, Ben. Thanks. Wish I knew more about javascript prototyping. Too much technology to stay familiar with. Bill On 5/16/07, Ben Sommerville <[EMAIL PROTECTED]> wrote: Bill, This > pageRenderSupport.addS

Re: T5: New Validators and server side validation

2007-05-16 Thread Bill Holloway
Add a script include to your border/page (to load your validation function) and change the render method to use MyProject.Field.email and you are good to go cheers. -- Ben Sommerville > -Original Message- > From: Bill Holloway [mailto:[EMAIL PROTECTED] > Sent: Wed

Re: T5: New Validators and server side validation

2007-05-16 Thread Juan Maya
This "weird" problem was being caused because my integration with ACEGI. On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote: I think i am starting to be annoying but i found out that inside a component the first form will not execute server side validation. In the follow

RE: T5: New Validators and server side validation

2007-05-16 Thread Ben Sommerville
> -Original Message- > From: Bill Holloway [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 16 May 2007 4:33 PM > To: Tapestry users > Subject: Re: T5: New Validators and server side validation > > In implementing an e-mail validator myself, one thing I notice in all >

Re: T5: New Validators and server side validation

2007-05-15 Thread Bill Holloway
ion configuration){ configuration.add(Email.NAME, new Email()); } The validators work for me perfectly when i use them in a page but when i use them in a Component the server side validation only works in the second form. I would really appreciate if u can test to use the validators insid

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
return formatter.format(field.getLabel()); } } add in AppModule.java public static void contributeFieldValidatorSource(MappedConfiguration configuration){ configuration.add(Email.NAME, new Email()); } The validators work for me perfectly when i use them in a page but when i use them i

Re: T5: New Validators and server side validation

2007-05-15 Thread Marcus
Juan, I'm trying, but having a lot of compilation errors. If you post all code added to AppModule.java and Email class, maybe i can help you. Marcus

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
I think i am starting to be annoying but i found out that inside a component the first form will not execute server side validation. In the following code the the validators will be executed fine. However the validators will not be executed if i change the code

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
t; wrote: > > But none of the basic implementors are executing server side validation. > (i > tried required and minLength) > > On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > > Yes, but the magic is built into the validator implementation. &g

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
Hi Marcus. I am doing exactly the same but using a tapestry validator so it handles server and client validation. the code is something like: public class Email implements Validator { public void validate(Field field, Void constraintValue, MessageFormatter formatter, Object value) throws Validat

Re: T5: New Validators and server side validation

2007-05-15 Thread Marcus
Hi Juan, If u do it, may u share the code with us? On server side, we're using this regular expression. import java.util.regex.Pattern; public class EmailValid { public static boolean isValid(String email) { return Pattern.matches( "([A-Za-z0-9]+[._-]*)+[A-Za-z0-9]+@([A-Za-z0-9-]+\\

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
It doesn't work for me. I am using tapestry 5.0.4. On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Really? That's a surprise and a bug if true. On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote: > > But none of the basic implementors are executing server s

Re: T5: New Validators and server side validation

2007-05-15 Thread Howard Lewis Ship
Really? That's a surprise and a bug if true. On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote: But none of the basic implementors are executing server side validation. (i tried required and minLength) On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > Yes,

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
But none of the basic implementors are executing server side validation. (i tried required and minLength) On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Yes, but the magic is built into the validator implementation. On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote:

Re: T5: New Validators and server side validation

2007-05-15 Thread Howard Lewis Ship
Yes, but the magic is built into the validator implementation. On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote: I Howard, Thank u for the answer. That was what i did. I followed the pattern but i didn't see how to add easily new Javascript. I could modify tapestry.js but i think that's not th

Re: T5: New Validators and server side validation

2007-05-15 Thread Juan Maya
I Howard, Thank u for the answer. That was what i did. I followed the pattern but i didn't see how to add easily new Javascript. I could modify tapestry.js but i think that's not the best way to do it. I thought the validators were able to execute server and client side validation. According to

Re: T5: New Validators and server side validation

2007-05-15 Thread Howard Lewis Ship
On 5/14/07, Juan Maya <[EMAIL PROTECTED]> wrote: Hi all, I am trying to contribute a new Email Validator that would check if an email is valid or not. To do it i created a class Email that implements Validator. Then i contributed the Validator in My AppModule: public static void contributeFiel

T5: New Validators and server side validation

2007-05-14 Thread Juan Maya
Hi all, I am trying to contribute a new Email Validator that would check if an email is valid or not. To do it i created a class Email that implements Validator. Then i contributed the Validator in My AppModule: public static void contributeFieldValidatorSource(MappedConfiguration configuration)