Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1370

Add 'when' condition to the Reference Validator

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.1
    • Component/s: Spring-NET-CORE
    • Labels:
      None

      Description

      Add 'When' property to the ReferenceValidator to support this case :

      <v:group id="ObjectValidator">
      <v:required test="#this">
      <v:message id="Object can't be null." providers="Custom"/>
      </v:required>
      <v:ref name="ObjectPropertiesValidator" context="PropertyName" when="#this != null"/>
      </v:group>

        Attachments

          Activity

            People

            • Assignee:
              bbaia Bruno Baia
              Reporter:
              bbaia Bruno Baia
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: