You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/06/21 11:59:20 UTC

[jira] [Created] (ISIS-443) Provide the ability to group domain services into logical menus, using @MemberOrder.

Dan Haywood created ISIS-443:
--------------------------------

             Summary: Provide the ability to group domain services into logical menus, using @MemberOrder.
                 Key: ISIS-443
                 URL: https://issues.apache.org/jira/browse/ISIS-443
             Project: Isis
          Issue Type: New Feature
          Components: Viewer: Wicket
    Affects Versions: viewer-wicket-1.2.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
             Fix For: viewer-wicket-1.3.0


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.


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