13
13
14
14
public class DemoForm implements Serializable {
15
15
16
+
17
+ @ TextField (title = "Pesonal Website" ,fieldAddonLeft ="http://" , description = "This is TextField with fieldAddonLeft" )
18
+ private String webSite ;
19
+
20
+ // @Tab(title = "Contact", index = 2)
21
+ @ Password (title = "Password" , placeHolder = "Please set you password" , description = "This is password" )
22
+ private String password ;
23
+
16
24
@ Tab (title = "Info" , index = 1 )
17
25
@ TextField (title = "First Name" , placeHolder = "Your first name" , description = "This is a description for your first name field" )
18
26
private String firstName ;
@@ -29,9 +37,6 @@ public class DemoForm implements Serializable {
29
37
@ Number (title = "Number of children" , placeHolder = "Number of children" , description = "This is a number" )
30
38
private Integer number ;
31
39
32
- // @Tab(title = "Contact", index = 2)
33
- @ Password (title = "Password" , placeHolder = "Please set you password" , description = "This is password" )
34
- private String password ;
35
40
36
41
@ Tab (title = "Info" , index = 1 )
37
42
@ ComboBox (title = "Gender" , titleMap = GenderTitleMap .class )
@@ -72,6 +77,14 @@ public void setEmail(String eMail) {
72
77
public String getEmail () {
73
78
return email ;
74
79
}
80
+
81
+ public void setWebSite (String website ) {
82
+ this .webSite = website ;
83
+ }
84
+
85
+ public String getWebSite () {
86
+ return webSite ;
87
+ }
75
88
76
89
public void setLastName (String lastName ) {
77
90
this .lastName = lastName ;
0 commit comments