Re: Third Party Library for GWT validation

2015-05-20 Thread Freddy Boucher
The way you request your server *doesn't matter*... The *GWT Validation Framework* allows you to test your fields in both *front-end* and *back-end*. As soon as you test your fields, you will get an *error list.* On Tuesday, May 19, 2015 at 4:07:15 PM UTC+10, Mohammed Sameen wrote: Yes

Re: Third Party Library for GWT validation

2015-05-20 Thread Thomas Broyer
On Wednesday, May 20, 2015 at 4:40:17 PM UTC+2, Chad Vincent wrote: (GWT responses use GSON, a Google-modified JSON, and are converted to POJO post-receive.) Huh!?!?!?! GWT-RPC uses its own serialization formats (plural: server-to-client is based on JS object literals –there's a patch to

Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
Huh. It's been a few years since I was in the raw serialization bits. I must've got things confused. Actually, that serialization format looks like what I remember seeing of HL7. On Wed, May 20, 2015 at 10:05 AM Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, May 20, 2015 at 4:40:17

Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
So you never convert the JSON to a POJO client side? (GWT responses use GSON, a Google-modified JSON, and are converted to POJO post-receive.) My best suggestion then is to just walk the JSON as a Map and use a custom validator interface... On Tuesday, May 19, 2015 at 1:07:15 AM UTC-5,

Re: Third Party Library for GWT validation

2015-05-19 Thread Mohammed Sameen
Yes Chad,I can't use GWT Validation(my application response is in the JSON format not in POJO).. On Monday, May 18, 2015 at 5:36:11 PM UTC+5:30, abdul wrote: I want to validate the gwt field like (Email,Text Length,Phone Number,Date SSN,etc..) Is there any proven JS or Library Available for

Third Party Library for GWT validation

2015-05-18 Thread abdul
I want to validate the gwt field like (Email,Text Length,Phone Number,Date SSN,etc..) Is there any proven JS or Library Available for Validating this fields with GWT. - I Can't use GWT Validation FrameworkorGWT Errai for my application since i am getting response as JSON not DTO. -

Re: Third Party Library for GWT validation

2015-05-18 Thread Chad Vincent
Are you not marshalling the response into a POJO? GWT Validation can be done (with most validators, though not all) client-side. On Monday, May 18, 2015 at 7:06:11 AM UTC-5, abdul wrote: I want to validate the gwt field like (Email,Text Length,Phone Number,Date SSN,etc..) Is there any