Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-468

Provide better layout management of pages in the Wicket viewer.

    XMLWordPrintableJSON

Details

    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=

      {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={4,4,4,0},
      left={"General", "Dates"}

      middle=

      {"Notes"}

      ,
      right=

      {"Other"}

      }

      would suppress the collections.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: