Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
viewer-wicket-1.2.0
-
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.