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/RegistrationUI.java
41 41
 */
42 42
@Theme("edit-valo")
43 43
@Title("Registration")
44
@SpringUI(path="registration")
44
@SpringUI(path=RegistrationUI.NAME)
45 45
@Viewport("width=device-width, initial-scale=1")
46 46
@Widgetset("eu.etaxonomy.cdm.vaadin.AppWidgetSet")
47 47
// @PreserveOnRefresh
......
50 50

  
51 51
    private static final long serialVersionUID = -8626236111335323691L;
52 52

  
53
    public static final String NAME = "registration";
54

  
53 55
    @Autowired
54 56
    @Qualifier("viewAreaBean")
55 57
    private ViewDisplay viewDisplay;

Also available in: Unified diff