Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vaadin:customize_menu [2019/04/28 08:35]
admin
vaadin:customize_menu [2020/08/05 13:02] (current)
cduncan Capitalization
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
-~~Title: Customize the menu~~+~~Title: Customize the Menu~~
  
 Customization of the standard application frame is already described [[vaadin:​customize_application|here]]. But the menu can also be customized without extending the application itself. The menu has some features which aren't available without extending it. Customization of the standard application frame is already described [[vaadin:​customize_application|here]]. But the menu can also be customized without extending the application itself. The menu has some features which aren't available without extending it.
Line 9: Line 9:
   * 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:
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information