Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3892

Create a option to execute BeanValidation before JSF-Validation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.3
    • 2.2.10
    • None
    • None

    Description

      As stated in this answer: http://stackoverflow.com/a/19835645 BeanValidation is executed after JSF-Validation.
      But it would be very useful to have a way to change this behaviour.

      Now you can't decide within jsf-validator wether a component is valid or not in terms of BeanValidation

      //My JSF-Validator
      //...
      UIInput input = (UIInput) component;
      
      if (!input.isValid()) {
          return;
      }
      
      //...my own jsf-validation rules...
      //...
      

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            reneo Rene O
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: