You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2020/03/19 15:21:00 UTC

[jira] [Updated] (ISIS-1864) Refactor EntityModel and ScalarModel so that don't unnecessarily reset scalar model properties after action invocation.

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

Daniel Keir Haywood updated ISIS-1864:
--------------------------------------
      Component/s: Isis Viewer Wicket
    Fix Version/s:     (was: 2.0.0)

> Refactor EntityModel and ScalarModel so that don't unnecessarily reset scalar model properties after action invocation.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1864
>                 URL: https://issues.apache.org/jira/browse/ISIS-1864
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Viewer Wicket
>    Affects Versions: 1.16.0
>            Reporter: Daniel Keir Haywood
>            Priority: Major
>
> as per [https://lists.apache.org/thread.html/9924509e3d3e0398e230467d80370e2f9d6dc94641aaa402db56c24e@%3Cusers.isis.apache.org%3E]
>  
> I think that the parent EntityModel shouldnt' really have this responsibility of telling each of its child ScalarModel's to reset themselves. Rather, perhaps it should simply instruct the ScalarModels that they are now dirty, so that if and when the ScalarModels are next asked for their state (for re-rendering) they then will query the underlying domain object ... but not before.
>  
> Also, ScalarModel inherits from EntityModel, but I think that's not correct; should factor out a common supertype for both.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)