[ 
https://issues.apache.org/jira/browse/ISIS-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385201#comment-14385201
 ] 

ASF subversion and git services commented on ISIS-1108:
-------------------------------------------------------

Commit 0be6486e8e853cf85f0f4acf3fbbdffbdd85b273 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=0be6486 ]

ISIS-1108: adding NPE guard to allow for the usage of 
ExceptionRecognizerComposite whereby it is simply instantiated and used as a 
wrapper around other instances of ExceptionRecognizer that have already been 
injected into.

This is done in several places in the Wicket viewer: EntityPropertiesForm, 
ActionPanel, WebRequestCycleForIsis


> Allow informUser, warnUser, raiseError and also exception messages to be 
> translated.
> ------------------------------------------------------------------------------------
>
>                 Key: ISIS-1108
>                 URL: https://issues.apache.org/jira/browse/ISIS-1108
>             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
>
>
> Probably by having overloaded methods etc that return TranslatableString 
> instead of just String, eg
> public class RecoverableException {
>     public RecoverableException(TranslatableString tr) { ... }
>     public TranslatableString getTranslatableMessage() { ... }
> }
> ~~~~
> and
> public interface DomainObjectContainer {
>     public void informUser(TranslatableString tr);
>     ...
> }
> etc



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to