You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
In addition to form validators annotations introduce org.nasdanika.cdo.web.validator annotation which supports the following keys:
client - synchronous validation on the client. For properties this validation will be performed in setter functions and throw an error if it fails.
client-async - asynchronous validation to be performed in $store() or $apply()
server - validation on the server side.
The validator annotation shall be applicable to EClasses, features, EOperations and EParameters.
On the server side use Rhino JavaScript engine to execute validation logic. If validation fails, use OK return code, but { error: ... } response. Modify session unmarshal logic to throw an error if the response has error key.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In addition to form validators annotations introduce org.nasdanika.cdo.web.validator annotation which supports the following keys:
The validator annotation shall be applicable to EClasses, features, EOperations and EParameters.
On the server side use Rhino JavaScript engine to execute validation logic. If validation fails, use OK return code, but { error: ... } response. Modify session unmarshal logic to throw an error if the response has error key.
The text was updated successfully, but these errors were encountered: