Dan Haywood created ISIS-468:
--------------------------------

             Summary: Provide better layout management of pages in the Wicket 
viewer.
                 Key: ISIS-468
                 URL: https://issues.apache.org/jira/browse/ISIS-468
             Project: Isis
          Issue Type: New Feature
          Components: Core, Viewer: Wicket
    Affects Versions: core-1.2.0, viewer-wicket-1.2.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: viewer-wicket-1.3.0, core-1.3.0


In the Wicket viewer, it can be difficult to distinguish different types of 
entities, moreover for some entities (with more properties than collections) 
there is a lot of real-estate wasted.

This ticket is to provide the ability for laying the properties out over up to 
three columns, and optionally suppressing the collections column.

Moreover it should be able to specify the relative width of those columns, and, 
ideally, the website should be responsive.

~~~
In the applib, introduce a new @MemberGroupLayout annotation, replacing the 
current @MemberGroups annotation, allowing this information to be specified, eg:

@MemberGroupLayout(
   columnSpans=ColumnSpans._3_3_0_6,
   left={"General", "Dates"}
   middle={"Notes"}
}

would place the properties in two columns taking up half the page, and 
collections (fourth column) to the far right. taking up the remaining 50%.

eg:

@MemberGroupLayout(
   columnSpans=ColumnSpans._4_4_4_0,
   left={"General", "Dates"}
   middle={"Notes"},
   right={"Other"}
}

would suppress the collections.



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

Reply via email to