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

Provide the ability to group domain services into logical menus, using @MemberOrder.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • viewer-wicket-1.2.0
    • viewer-wicket-1.3.0
    • Viewer Wicket
    • None

    Description

      Suppose we have two closely related domain services, each servicing a different entity, eg:
      Property and Unit.

      We would like these actions to appear as a single menu, eg "Assets".

      The idea is to use @MemberOrder for this, eg:

      class Property {

      @MemberOrder(name="Assets", sequence="1")
      public Property findProperty( ... )

      { ... }

      @MemberOrder(name="Assets", sequence="2")
      public Property newProperty( ... ) { ... }

      }

      and

      class Unit {

      @MemberOrder(name="Assets", sequence="3")
      public Unit findUnit( ... )

      { ... }

      @MemberOrder(name="Assets", sequence="4")
      public Unit newUnit( ... ) { ... }

      }

      These four actions would then appear under an "Assets" menu.

      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: