2
votes

I am building a sort of validation framework for a GWT project.

The point is to reuse the same validation code for both client and server side. I found that jsr-303 Bean Validation is supported by both GWT(here) and Spring(here).

As my model object are generated and I cannot annotate them properly, I would like to use xml-based configuration for jsr-303 Bean Validation. However, I don't see a way of doing it with gwt-validation.

Is there a way I configure the gwt-validation using xml instead of annotations?

1
FYI, there's also built-in support in GWT, but it won't help you as it doesn't support XML configuration either.Thomas Broyer
Thanks Thomas, I saw that, but on the built-in support home page they say: WARNING EXPERIMENTAL. The API may change. SOME things still just don't work.Andrew
The EXPERIMENTAL flag has actually been turned off last month; it should ship in GWT 2.5.Thomas Broyer
Ah, you're right, thanks once again. Unfortunately, it does not solve the problemAndrew

1 Answers

0
votes

It looks like there's no way of doing this yet.