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

Dan Haywood closed ISIS-475.
----------------------------


> Dynamic layout using JSON, using an Xxx.layout.json file
> --------------------------------------------------------
>
>                 Key: ISIS-475
>                 URL: https://issues.apache.org/jira/browse/ISIS-475
>             Project: Isis
>          Issue Type: New Feature
>          Components: Archetype: ToDoApp WRJ, Core, Examples, Viewer: Wicket
>    Affects Versions: archetype-wrj-1.0.3, viewer-wicket-1.2.0, core-1.2.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: archetype-quickstart-wrj-1.3.0, viewer-wicket-1.3.0, 
> core-1.3.0
>
>
> Load layout metadata from a .layout.json file (this is a successor to 
> ISIS-469)
> Also allow this .layout.json file to be downloaded (using 
> DeveloperUtilitiesService), either for an individual class, or a zip of all 
> the classes in the metamodel
> Dynamically reload metadata; log any errors if does not parse etc.
> ~~~
> The format of the Xxx.layout.json file (eg for ToDoItem example class) is:
> {
>     columns: [
>     {
>         span: 3,
>         memberGroups: {
>             General: {
>                 members: {
>                     description: {},
>                     category: {},
>                     complete: {
>                         actions: {
>                             completed: {},
>                             notYetCompleted: {}
>                         }
>                     }
>                 }
>             },
>             Misc: {
>                 members: {
>                     versionSequence: {}
>                 }
>             }
>         }
>     },
>     {
>         span: 4,
>         memberGroups: {
>             Detail: {
>                 members: {
>                     dueBy: {},
>                     cost: {
>                         actions: {
>                             updateCost:{}
>                         }
>                     },
>                     notes: {},
>                     attachment: {}
>                 }
>             }
>         }
>     },
>     {
>         span: 0
>     },
>     {
>         span: 5,
>         collections: {
>             dependencies: {
>                 actions: {
>                     add:{},
>                     delete: {}
>                 }
>             },
>             similarItems: {}
>         }
>     }
>     ],
>     actions: {
>         delete: {},
>         duplicate: {}
>     }
> }
> ~~~~~~~~~~~~~~~~~~~~



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to