Wednesday, May 20, 2015

Re: Third Party Library for GWT validation

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, Mohammed Sameen wrote:
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 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.
  • Even I tried Parsley JS(http://parsleyjs.org/ ) which is not possible (Reason:GWT have {key,value} pair to set the attribute but parsley have only value.)

    Any suggestion?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment