Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
viewer-wicket-1.2.0, core-1.2.0
-
None
Description
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=
,
left=
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={4,4,4,0},
left={"General", "Dates"}
middle=
{"Notes"},
right=
}
would suppress the collections.