Hi Dan, Thank you so much for your explanation. Now I can get it working but I'm afraid it's not enough because I'll need 3 or 4 lines for each domain.
The best way for my project may be listing actions as buttons above title of List All pages. Can I do this by using Contributed Actions? I didn't understand how contributed actions work. How can I fire these actions? By buttons? Best regards, Fabio 2016-06-12 6:48 GMT-03:00 Dan Haywood <d...@haywood-associates.co.uk>: > Hi Fabio, > and welcome to the mailing list. Very nice to hear you are enjoying using > the framework. > > With respect to your question, you can use the @DomainServiceLayout#named > attribute [1] to place the menu items for different menu domain services > onto the same menu. The @DomainServiceLayout#menuOrder then determines the > relative order of each set of menu items with respect to others. The > framework automatically puts a menu separator between each set. > > For example, in Estatio [2] we have a "Fixed Assets" menu that is built out > of three menu services: > > > @DomainService( > nature = NatureOfService.VIEW_MENU_ONLY > ) > @DomainServiceLayout( > named = "Fixed Assets", > menuBar = DomainServiceLayout.MenuBar.PRIMARY, > menuOrder = "10.1") > public class PropertyMenu ... { ... } > > > and > > > @DomainService( > nature = NatureOfService.VIEW_MENU_ONLY > ) > @DomainServiceLayout( > named = "Fixed Assets", > menuBar = DomainServiceLayout.MenuBar.PRIMARY, > menuOrder = "10.2" > ) > public class UnitMenu ... { ... } > > and > > > @DomainService( > nature = NatureOfService.VIEW_MENU_ONLY > ) > @DomainServiceLayout( > named = "Fixed Assets", > menuBar = DomainServiceLayout.MenuBar.PRIMARY, > menuOrder = "10.3" > ) > public class FixedAssetRegistrationMenu ... { ... } > > > > HTH > Dan > > [1] http://isis.apache.org/guides/rgant.html#_rgant-DomainServiceLayout > [2] http://github.com/estatio/estatio > > > > > > > > > > On 11 June 2016 at 15:27, Fabio Purcino <fa...@viacodigo.com.br> wrote: > > > Dear sirs, > > > > I'm new on Apache ISIS development. It`s really fantastic but i'm facing > > the following issue: > > > > I have 20 domains with one domain service for each one showing basic > > operations (List, Create and Find by Name). Because of this I got three > > lines of top menu, a little bit messy. > > > > Is there any way to manage this responsively? Or by making multilevel > menu, > > or by moving menu to a tree view in left site or by changing top menu > > dynamically? > > > > I've already tried @menuOrder 1 , @menuOrder 1.1 to see different levels > > but Isis only put my Actions under the same level. > > > > Thanks for your help and best regards, > > > > -- > > ------------------------------------------------------------ > > Fábio Purcino Aragão > > > -- ------------------------------------------------------------ Fábio Purcino Aragão