To make a menubar like this:
You’ll need to include a ‘menu’ component in your gui:resources tag, then try this markup:
My default, menubars will render to the document body, but you can provide an optional renderTo attribute and have it render to any other container. I think it would be a cool idea to combine this with Marc Palmer’s new Navigation Plugin in order to provide the automatic creation of snappy menus.
The menubar is really just a group of menu components, which you can construct yourself as a context menu:
The markup for a menu is extremely similar to a menubar:
For working examples, check out the new branch on the guidemo project in Google Code.
Then package with grails package-plugin, and install into your project: grails install-plugin /path/to/snapshot/grails-grails-ui-1.1-SNAPSHOT.zip



One Comment
Do you have any updates on Grails ui1.1. please let me know.