Revision: 9442
Author: [email protected]
Date: Wed Dec 15 17:35:14 2010
Log: Show what to put in your gwt.xml file.
http://code.google.com/p/google-web-toolkit/source/detail?r=9442
Modified:
/wiki/BeanValidation.wiki
=======================================
--- /wiki/BeanValidation.wiki Wed Dec 15 17:32:29 2010
+++ /wiki/BeanValidation.wiki Wed Dec 15 17:35:14 2010
@@ -48,8 +48,15 @@
}}}
-Add replace with tag in your gwt.xml file to tell GWT which validator to
use
-
+Add _replace-with_ tag in your gwt modle file telling GWT to use the
Validator you just defined
+(see
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml
Validation.gwt.xml])
+
+{{{
+<replace-with
+ class="com.google.gwt.sample.validation.client.SampleValidator">
+ <when-type-is class="javax.validation.Validator" />
+</replace-with>
+}}}
== What is not supported ==
* XML configuration
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors