MyFaces Extensions Validator
  1. MyFaces Extensions Validator
  2. EXTVAL-142

SkipValidation group to skip the validation process via an action-method

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.7
    • Component/s: Bean Validation
    • Labels:
      None

      Description

      in combination with EXTVAL-141 it's possible to skip the bv based validation process

      @BeanValidation(useGroups = SkipValidation.class)
      public String send()

      { //... return "success"; }
      1. EXTVAL-141_and_EXTVAL-142.patch
        17 kB
        Gerhard Petracek
      2. EXTVAL-141_and_EXTVAL-142_v0.2.patch
        19 kB
        Gerhard Petracek

        Issue Links

          Activity

          Hide
          Gerhard Petracek added a comment - - edited

          currently we only support action-methods without parameters as well as std. action-listeners.
          action-methods with parameters might be supported later on, but we can't support multiple methods with the same name but different parameter/s. that's a basic el issue (if a parameter value resolves to null, it isn't possible to determine the type of the parameter).

          "workaround" for parameters:

          • f:attribute + ActionEvent#getComponent#getAttributes#get
            or
          • f:setPropertyActionListener
          Show
          Gerhard Petracek added a comment - - edited currently we only support action-methods without parameters as well as std. action-listeners. action-methods with parameters might be supported later on, but we can't support multiple methods with the same name but different parameter/s. that's a basic el issue (if a parameter value resolves to null, it isn't possible to determine the type of the parameter). "workaround" for parameters: f:attribute + ActionEvent#getComponent#getAttributes#get or f:setPropertyActionListener

            People

            • Assignee:
              Gerhard Petracek
              Reporter:
              Igor Guimaraes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development