The Nova Business Rule Validation API

Registered by Wilson

Facility for invoke business rule validation on a nova input field using container-based component registration and the message context.

Blueprint information

Status:
Not started
Approver:
Wilson
Priority:
Undefined
Drafter:
Wilson
Direction:
Needs approval
Assignee:
Wilson
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Enable the validation of business rules upon a form or field level filled declaration.

Developers may wish to verify that input is valid according to complex business rules, or rules that require repository interaction. We provide a component interface for specifying such behaviour, which provides full contextual information for the component to validate against. Validators are stateless components and therefore should not (as a rule) hold validation information directly. (They may wish to do so using synchronisation only).

<prompt-collect ..... >

   <component-validator name="validBookingTimes">
      <error name="bookingTimesNotValid">
         <prompt-set name="notValidBooking" />
      <error>
   </component-validator>

</prompt-collect>

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.