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

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

Commit 199428bc1f00476fe04f2b32a643a50df475560e in isis's branch 
refs/heads/ISIS-1613 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=199428b ]

ISIS-1613: refactors to reuse EntityModel so far as possible

- ActionModel accepts an EntityModel rather than an underlying ObjectAdapter
  - HomePage updated to construct ActionModel passing an EntityModel for the 
target
- ScalarModel accepts an EntityModel rather than an ObjectAdapterMemento, and 
exposes parentEntityModel rather than parentObjectAdapterMemento
  - to obtain the adapter (eg for disable checks), can use 
getParentEntityModel().load(...) rather than 
getParentObjectAdapterMemento().getObjectAdapter(ConcurrencyChecking.CHECK, 
..., ...)
- ActionLinkFactory's API simplified, no longer need to pass in an 
ObjectAdapterMemento
  - instead subclasses of ActionLinkFactoryAbstract now holds the entityModel 
as a field
    -  ServiceActionLinkFactory is now stateful rather than a singleton, an 
instance wraps each service item exposed in UI (same design as for domain 
entities, ie EntityActionLinkFactory)
 - CssMenuItem no longer passes through adapterMemento when calling newLink
  - and some refactorings in it and ServiceActionUtil to simplify
  - renamed ServiceActionUtil.LogicalServiceAction to ServiceAndAction, made 
top-level class
  - StandaloneCollectionPanel ditto no longer passes null through for the 
entity model to its (Bulk)ActionLinkFactory
- LinkAndLabelUtil reuses the scalarModel's parent EntityModel rather than 
creating a new one
- PropertyEditPanel uses ScalarModel#getParentEntityModel where possible
- ditto PropertyEditPromptHeaderPanel
- ditto ScalarPanelAbstract
- ditto ScalarPanelAbstract2


> On action invoke/property edit, don't reload page, just repaint changed 
> components (and allow unchanged components to opt out).
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1613
>                 URL: https://issues.apache.org/jira/browse/ISIS-1613
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core, Core: Viewer: Wicket
>    Affects Versions: 1.14.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: 1.15.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to