2012-12-03 2 views

답변

0

내 해결책은 다음과 같습니다.

생성 된 클래스에 gin 관리 클래스를 삽입 할 수 없다는 사실이 밝혀졌습니다.

https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/rN476RgdGAM

및/쓰기 GWT에서 ValidatorGenerator을 확장했다 :

내가 다음 링크에서 정보를 사용하여 한 해결 방법입니다.

작업

Lttle 비트

<generate-with 
    class=".... CustomValidatorGenerator"> 
    <any> 
     <when-type-assignable class="javax.validation.Validator" /> 
     <when-type-assignable 
      class="com.google.gwt.validation.client.impl.GwtSpecificValidator" /> 
    </any> 
</generate-with>