Revision 7376bad6
Added by Alexander Oppermann over 9 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/AuthenticationView.java | ||
---|---|---|
23 | 23 |
|
24 | 24 |
import eu.etaxonomy.cdm.vaadin.ui.AbstractAuthenticatedUI; |
25 | 25 |
|
26 |
|
|
26 | 27 |
public class AuthenticationView extends CustomComponent implements IAuthenticationComponent, ClickListener , View { |
27 | 28 |
|
28 | 29 |
/*- VaadinEditorProperties={"grid":"RegularGrid,20","showGrid":true,"snapToGrid":true,"snapToObject":true,"movingGuides":false,"snappingDistance":10} */ |
... | ... | |
55 | 56 |
*/ |
56 | 57 |
public AuthenticationView() { |
57 | 58 |
buildMainLayout(); |
59 |
setStyleName("login"); |
|
58 | 60 |
setCompositionRoot(mainLayout); |
59 | 61 |
userNameTF.addValidator(new StringLengthValidator("It must be 3-25 characters", 3, 25, false)); |
60 | 62 |
userNameTF.setNullRepresentation(""); |
Also available in: Unified diff
added style information