I was trying to validate my object using gwt validation:
The gwt framework does not support adding violations. An example of the same:
arg1.disableDefaultConstraintViolation();
|
arg1.buildConstraintViolationWithTemplate("test323").addNode("weew").
|
addNode(null).inIterable().atIndex(0).addNode("a").inIterable().
|
addConstraintViolation();
|
|
arg1.buildConstraintViolationWithTemplate("test1").addNode("weew").
|
addNode(null).inIterable().atIndex(2).addNode("a").inIterable().
|
addConstraintViolation();
|
The path is very important for us as we use the same to highlight fields on screen.
I had rasied an issue and patched up the validation framework
http://code.google.com/p/gwt-validation/issues/detail?id=95
Any chance this can make into the next release...