GWT Validation Best Practice

83 views
Skip to first unread message

simonob007

unread,
Jan 12, 2010, 7:30:10 AM1/12/10
to Google Web Toolkit
Hi GWT Community

I am in the process of evaluating GWT as a basis for building RIA's so
am building out a basic form based application to test out GWT.

So far my GWT experience has been really good however I appear to have
hit a brick wall in terms of validation (such as basic client side
form validation) as from what I can see GWT does not have any built in
validation components so I would have to build validation components
manually.

From my investigations (including searching this group) I have not
been able to come to any conclusions on best practice for validation
with GWT, I have seen there are a number of separate GWT validation
projects available however I have not been able to come to a
conclusion on a best practice.

Please could you share your personally experiences around GWT
validation and share any best practices?

NOTE: I know that there are also a couple of 3rd party libraries such
as SmartGWT and Ext GWT that provide built in validation techniques
however I would like to discount these for now due to licensing
questions (particularly over Ext GWT) and as I understand from my
research these libraries do not seem to benefit from key GWT features
such as code splitting, code elimination, etc and don't really adhere
to GWT 'best practice' (I hope I'm not opening a can of worms with
this statement)

Many Thanks

Simon

Deanna Bonds

unread,
Jan 12, 2010, 3:28:20 PM1/12/10
to Google Web Toolkit
There is a validation library in gwt-incubator but I haven't used it
yet. It is on my todo list to explore it. There isn't much doc to it
so you will have to dissect the code in the jar file.

simonob007

unread,
Jan 13, 2010, 3:24:17 AM1/13/10
to Google Web Toolkit
Hi Deanna

Thanks for the reply. It sounds like from the recent incubator
announcement (http://groups.google.com/group/google-web-toolkit/
browse_thread/thread/26f883d9b0c02136) that with any luck validation
support might be built into core GWT in the 2.2 time frame (anybody
hazard a guess when this might be)? In the meantime I will take a look
at the validation support built into gwt-incubator.

Thanks

Simon

Reply all
Reply to author
Forward
0 new messages