1313
1414public class DemoForm implements Serializable {
1515
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+
1624 @ Tab (title = "Info" , index = 1 )
1725 @ TextField (title = "First Name" , placeHolder = "Your first name" , description = "This is a description for your first name field" )
1826 private String firstName ;
@@ -29,9 +37,6 @@ public class DemoForm implements Serializable {
2937 @ Number (title = "Number of children" , placeHolder = "Number of children" , description = "This is a number" )
3038 private Integer number ;
3139
32- // @Tab(title = "Contact", index = 2)
33- @ Password (title = "Password" , placeHolder = "Please set you password" , description = "This is password" )
34- private String password ;
3540
3641 @ Tab (title = "Info" , index = 1 )
3742 @ ComboBox (title = "Gender" , titleMap = GenderTitleMap .class )
@@ -72,6 +77,14 @@ public void setEmail(String eMail) {
7277 public String getEmail () {
7378 return email ;
7479 }
80+
81+ public void setWebSite (String website ) {
82+ this .webSite = website ;
83+ }
84+
85+ public String getWebSite () {
86+ return webSite ;
87+ }
7588
7689 public void setLastName (String lastName ) {
7790 this .lastName = lastName ;
0 commit comments