Errai
  1. Errai
  2. ERRAI-448

Add a bean validation module to Errai

    Details

    • Type: Feature Request Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Partially Completed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.M1, 2.4.0.Beta1
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      A bean validation module in Errai would allow to:

      • inject a Validator
      • support data binding proxies by automatically unwrapping them when necessary
      • no longer require an AbstractGwtValidatorFactory implementation to define beans that can be validated

        Gliffy Diagrams

          Activity

          Hide
          Christian Sadilek added a comment -

          Inheriting the new errai-validation GWT module will enable the first two use cases mentioned above. The injected javax.validation.Validator will wrap the actual generated validator to support @Bindable types.

          To inherit the errai-validation module add

          <inherits name="org.jboss.errai.validation.Validation"/>
          

          Show
          Christian Sadilek added a comment - Inheriting the new errai-validation GWT module will enable the first two use cases mentioned above. The injected javax.validation.Validator will wrap the actual generated validator to support @Bindable types. To inherit the errai-validation module add < inherits name = "org.jboss.errai.validation.Validation" />

            People

            • Assignee:
              Christian Sadilek
              Reporter:
              Christian Sadilek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development