[
https://issues.jboss.org/browse/FORGE-1194?page=com.atlassian.jira.plugin...
]
Vineet Reynolds commented on FORGE-1194:
----------------------------------------
NB - errors should ideally take precedence over warnings when displayed, especially if the
UI provider supports display of only a limited (possibly one) number of messages.
Support addition of warnings to a validation context
----------------------------------------------------
Key: FORGE-1194
URL:
https://issues.jboss.org/browse/FORGE-1194
Project: Forge
Issue Type: Feature Request
Components: UI - API
Affects Versions: 2.0.0.Alpha12
Reporter: Vineet Reynolds
Assignee: George Gastaldi
Fix For: 2.0.0.Alpha13
Currently the UIValidationContext API supports only the addition of errors, and thus the
display of only error messages. It would be useful to allow warnings to be added to the
context, to enable the UI provider to display them as well.
For example, field that accept a class name should preferably be associated with a
validator that can warn about the use of the '$' character. This is not an error,
but we should warn users in such scenarios.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira