Project

General

Profile

« Previous | Next » 

Revision 7f6f8587

Added by Andreas Kohlbecker over 2 years ago

ref #9884 refactoring UI enablement:

  • ui beans never are null
  • disabled beans have state.enabled=false
  • uis throw UIDisabledException
  • ErrorView to show UIDisabledException
  • UIDisabledErrorHandle delegates to the ErrorView

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/ui/UserAccountSelfManagementUI.java
24 24
 */
25 25
@Theme("edit-valo")
26 26
@Title("User Account Self Management")
27
@SpringUI(path=UserAccountSelfManagementUI.PATH)
27
@SpringUI(path=UserAccountSelfManagementUI.NAME)
28 28
@Viewport("width=device-width, initial-scale=1")
29 29
@Widgetset("eu.etaxonomy.cdm.vaadin.AppWidgetSet")
30 30
public class UserAccountSelfManagementUI extends AbstractUI {
31 31

  
32 32
    private static final long serialVersionUID = 8553850288038649061L;
33 33

  
34
    public static final String PATH = "account";
34
    public static final String NAME = "account";
35 35

  
36 36
    private ViewDisplay viewDisplay = null;
37 37

  

Also available in: Unified diff