[ 
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)

Reply via email to