Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M3
    • Fix Version/s: 3.0-RC1
    • Component/s: None
    • Labels:
      None

      Description

      I am trying to extend the validation of the fields in Bpm4Struts, my
      idea is to write by hand the validator code and modify the
      validator-rules.xml file, but I want the "validation.xml" be written
      from the model.

      This validation can not be done with simple regular expression, because
      they are things like account numbers (which need a calculation within
      the numbers to determine if it is correct)

      My idea is to be able to specify names within the
      @andromda.struts.view.field.validwhen tagged value, and this values
      written within the validation.xml.

      My problem is with the handleGetValidatorTypes form
      StrutsParameterLogic.java does not return anything when the name is not
      one of the permited ones. Should not this be "opened" just to allow
      writting our own validators?

      ..in this way a Validator class could contain the validators, so the validation-rules can be written correctly form the model.

        Attachments

          Activity

            People

            • Assignee:
              overheat Plushnikov Michail
              Reporter:
              carloslcuenca Carlos Cuenca
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: