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

Add a table tree view to the Wicket viewer.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • viewer-wicket-1.6.0
    • 2.0.0-M2
    • Viewer Wicket
    • None

    Description

      see mailing list discussion [1]

      [1] http://markmail.org/message/vu3jqmlawrskplic

      ~~~
      some further thoughts:

      For example, in Estatio there are several hierarchies

      EstatioInstance ("global") /
      EstatioInstance ("italy") /
      EstatioInstance ("Roma shopping mall")

      or:

      Property/
      Floor/
      Unit

      We'd like to render these objects in a single tree/table collection.

      ~~~
      We should distinguish two cases:

      • where all the rows are of the same type (EstatioInstance, turtles all the way down).
      • where all the rows are of different types (Property/Floor/Unit)

      For the former, the columns to use are exactly those of the (single) class.

      For the latter, things are more complicated, as all the objects are of different class. It's not clear to me what (apart from an icon and a title) should be shown as columns. Perhaps just the intersection of those properties that are common across all types (eg name?) . Or perhaps there's metadata (in @PropertyLayout(...)) to specify that a particular property should always be shown in such tree/table collections, even if it is null for other rows for instances of some other class.

      Attachments

        1. tree.png
          31 kB
          Andi Huber

        Issue Links

          Activity

            People

              hobrom Andi Huber
              danhaywood Daniel Keir Haywood
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: