[jira] [Commented] (ISIS-475) Dynamic layout using JSON, using an Xxx.layout.json file
[ https://issues.apache.org/jira/browse/ISIS-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779881#comment-13779881 ] ASF subversion and git services commented on ISIS-475: -- Commit 1526874 from [~danhaywood] in branch 'site/trunk' [ https://svn.apache.org/r1526874 ] re ISIS-469, ISIS-475, update to pom.xml for dynamic layouts 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: Archetypes, 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-wrj-1.0.4, 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-475) Dynamic layout using JSON, using an Xxx.layout.json file
[ https://issues.apache.org/jira/browse/ISIS-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13729423#comment-13729423 ] ASF subversion and git services commented on ISIS-475: -- Commit 94f071841385b92eeb7f1b86d76a91e020aca2fd in branch refs/heads/master from [~danhaywood] [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=94f0718 ] ISIS-475: further minor updates... * cosmetic change to tables also extend to hearer * UPGRADE Wicket to 6.9.1, wicketstuff to 6.9.0 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: Archetypes, 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-wrj-1.0.4, 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-475) Dynamic layout using JSON
[ https://issues.apache.org/jira/browse/ISIS-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13718013#comment-13718013 ] ASF subversion and git services commented on ISIS-475: -- Commit a5ad5dcf4502e94cdb0e6931d04cd3c01ade19c3 in branch refs/heads/master from [~danhaywood] [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=a5ad5dc ] ISIS-475: dynamic layouts from JSON - new LayoutMetadataReader interface - new impls for properties and for json - new classes representing LayoutMetadata (serializable to JSON) - FacetedMethodsBuilder now uses the new LayoutMetadataReader interface - searches for json impl, then properties impl - utility classes/methods (ObjectAssociations, ObjectSpecifications, EntityActionUtil.memberOrderOf) moved from viewer-wicket to core-metamodel - example layout for ToDoItem converted to *.isis.json - DeveloperUtilitiesService allows ability to download layout - factored out MemberOrderFacetComparator from MemberOrderComparator, so can reuse. also: - ArrayUtils and ArrayUtil classes removed - combined Resources utility class with ResourceUtil utility class, unused methods removed - unused methods in PropertyUtil removed also: - little bit of CSS cosmetic change in table td left borders Dynamic layout using JSON - Key: ISIS-475 URL: https://issues.apache.org/jira/browse/ISIS-475 Project: Isis Issue Type: New Feature Components: Archetypes, 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-wrj-1.0.4, viewer-wicket-1.3.0, core-1.3.0 Load layout metadata from a .isis.json file. Allow .isis.json file to be downloaded (using DeveloperUtilitiesService). Dynamically reload metadata; log any errors if does not parse etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira