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/10/25 11:34:33 UTC
[jira] [Closed] (ISIS-443) Provide the ability to group domain
services into logical menus, using @MemberOrder.
[ https://issues.apache.org/jira/browse/ISIS-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood closed ISIS-443.
----------------------------
> 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 was sent by Atlassian JIRA
(v6.1#6144)