Dan Haywood created ISIS-1113:
---------------------------------
Summary: Vetoing subscribers should be able to provide a
translatable reason.
Key: ISIS-1113
URL: https://issues.apache.org/jira/browse/ISIS-1113
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: core-1.8.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
Fix For: 1.9.0
ie in AbstractDomainEvent, as well as disable(String), there should also be a
disable(TranslatableString). Ditto for validate.
The appropriate facets should check for a translated version of the disabled /
invalidate reason first, and translate back using the TranslationService.
If there is no translated version, then the original behaviour (simple string)
is should continue to be used instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)