Questions tagged [gwt-validation]

10 questions
5
votes
2 answers

How to setConstraintViolations on EditorDriver using return value of client side Validator Validate method call

Using GWT 2.5.0, I would like to use Client side validation and Editors. I encounter the following error when trying to pass the ConstraintViolation java.util.Set to the EditorDriver as follows. Validator a =…
asenec4
  • 367
  • 3
  • 16
4
votes
2 answers

Showing GWT validation errors using Editor Framework

I do GWT client side validation and I've a problem of how to show validation errors which are returned by validator. I debugged it and I can see that the set contains errors but driver doesn't show them. SimpleBeanEditorDriver is used. Entry Entry =…
Eugene
  • 91
  • 2
  • 6
3
votes
1 answer

GWT validation framework, how to specify location of internationalization bundle

This one is related to my previous post. Is it possible in GWT validation framework to specify location of ValidationMessages.properties files and their names? I already have messages translations in my application and I'd prefer them to be in one…
Vic
  • 1,778
  • 3
  • 19
  • 37
1
vote
2 answers

How to install gwt-validation with gwt-2.4.0

I would like to use Gwt-Validation with Gwt 2.4.0. I have in my gwt.xml file : Like in…
Sandro Munda
  • 39,921
  • 24
  • 98
  • 123
1
vote
1 answer

GWT validation framework internationalization for messages in annotations

After having read this page I found a way of internationalizing validation messages. It is done by placing translations of each error type into ValidationMessages.properties files. javax.validation.constraints.Size.message=The property must be…
Vic
  • 1,778
  • 3
  • 19
  • 37
0
votes
0 answers

GWT replace-with code

related to a previous un-answered question of myself: how can i find the code that will be executed when i use
0
votes
1 answer

Gwt Client Validation with editor and request factory

I had a problems with GWT Client Validation used with RequestFactory and Editors. The edit code is : LocalityRequest localityContext = //create Request Locality locality = //Locality Entity Proxy loaded from the server driver.edit(locality,…
0
votes
1 answer

GWT CellTable Input Validation

I would like to implement something similar to the Cell Validation showcase example, which can be found here http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellValidation After looking through the code and trying to implement…
lufthansa747
  • 1,923
  • 3
  • 26
  • 39
0
votes
3 answers

GWT validation framework internationalization, wrong code page

This one is related to my previous post. My problem is that after I put messages in ValidationMessages.properties in languages other than English (Ukrainian and Czech in my case) I got messed up characters in the end. The encoding of all those…
Vic
  • 1,778
  • 3
  • 19
  • 37
0
votes
1 answer

GWT 2.4 ValidationTool fails on a Date property on a ValueProxy

I was looking around the web for a couple of hours now, but I did not find any hints on this. I'm currently in progress of learning GWT (started with 2.4.0), and I'm setting up a RequestFactory. Everything went good until the point I ran the…