You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/01/13 08:50:34 UTC
[jira] [Created] (ISIS-1009) Call a @PostConstruct callback for
view models
Dan Haywood created ISIS-1009:
---------------------------------
Summary: Call a @PostConstruct callback for view models
Key: ISIS-1009
URL: https://issues.apache.org/jira/browse/ISIS-1009
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
Fix For: core-1.8.0
For view models that directly implement ViewModel interface, their viewModelInit(...) method is called and so they have a hook to do any additional initialization, eg looking up objects etc
But for view models that are annotated using @ViewModel, these have no such hook.
Suggest that we honour @PostConstruct annotation for all view models, as a consistent hook.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)