Monday, September 27, 2010

Re: Any recommended input validation lib?

Learn from gwt-pectin, this is a comment I found in the bikeshed
source code. And, I must say, gwt-pectin is a really nice binding and
validation framework. To be honest, it is the best I have seen until
now.

My wishlist? GWT uses a metamodel and API like gwt-pectin does
provide, plus a nice uibinder integration to make things easier.

And, by the way, what about a fluent builder API for forms like the
one in gwt-mosaic? Badly missing something like that in GWT.

brgds,

Papick


On 27 Sep., 10:51, Thomas Broyer <t.bro...@gmail.com> wrote:
> On Sep 27, 2:47 am, nacho <vela.igna...@gmail.com> wrote:
>
> > Hi, searching on google i've found a few gwt validation libraries.
>
> > I would like to know if you are using anyone in special or if you have
> > tested some of them.
>
> FYI, GWT 2.1 should come with built-in support for javax.validation. I
> don't know if they borrowed code from there but the GWT team has been
> talking a lot with the maintainer of the gwt-validation project:https://wave.google.com/wave/waveref/googlewave.com/w+yAUzf_-lA(you
> have to be subscribed to the GWT-Contributors Google Group to access
> the wave)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

1 comment:

  1. Hi there, Thanks for you're compliments about pectin.

    Just as a matter of interest I've started talking with the author of Bindgen (http://bindgen.org/) about the possibilities of using it with pectin and things are looking promising. If we can get it working (and I think we can) you'll be able to create meta models using type safe code completed bindings generated from your bean graph. e.g. fieldBoundTo(employee.employer().name()), and in cases where you don't need a meta model you'll be able bind directly to the auto-generated model.

    This is a little old now but give's a bit of an idea: https://wave.google.com/wave/waveref/googlewave.com/w+UQNykyjbA

    I'd also like to see this integrated with the new gwt validation code (or at least a similar mechanism), so if anyone feels like contributing drop me a line.

    Cheers
    Andrew

    ReplyDelete