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/09/12 09:43:45 UTC

[jira] [Updated] (ISIS-1009) Call a @PostConstruct callback for view models

     [ https://issues.apache.org/jira/browse/ISIS-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-1009:
------------------------------
    Fix Version/s:     (was: 1.11.0)
                   1.10.0

> 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: 1.10.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)