Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
vaadin:customize_menu [2019/04/28 08:35] admin created |
vaadin:customize_menu [2019/04/28 08:39] admin |
||
---|---|---|---|
Line 6: | Line 6: | ||
Let's change the menu a little bit: | Let's change the menu a little bit: | ||
- | * Remove the SAVE and RELOAD buttons | + | * Remove the SAVE and RELOAD buttons |
- | * Add a custom button to the button area | + | * Add a custom button to the button area |
- | * Completely remove the button area | + | * Completely remove the button area |
+ | |||
+ | Before you can use your own menu implementatiom, set the [[jvx:client:gui:application_parameters|application parameter]]: **Application.Menu.corporation.classname** to the full qualified class name of your menu implementation, e.g. | ||
+ | |||
+ | <file xml> | ||
+ | <servlet> | ||
+ | <servlet-name>VaadinUI</servlet-name> | ||
+ | <servlet-class>com.sibvisions.rad.ui.vaadin.server.VaadinServlet</servlet-class> | ||
+ | |||
+ | ... | ||
+ | |||
+ | <init-param> | ||
+ | <param-name>Application.Menu.corporation.classname</param-name> | ||
+ | <param-value>com.sibvisions.apps.vaadin.CustomCorporationMenu</param-value> | ||
+ | </init-param> | ||
+ | |||
+ | ... | ||
+ | </servlet> | ||
+ | </file> | ||
It's super easy to remove some buttons: | It's super easy to remove some buttons: |