aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/book/FormExample.java
diff options
context:
space:
mode:
authorMarko Grönroos <magi@iki.fi>2008-09-30 14:32:16 +0000
committerMarko Grönroos <magi@iki.fi>2008-09-30 14:32:16 +0000
commit0649c0780d6ac0459ced2543d8fa3ec6da52325c (patch)
tree5037339685c17030fd8db21845d00d22663cefd6 /src/com/itmill/toolkit/tests/book/FormExample.java
parent3724e19222e413aae5b24699323ad66c7bce98f2 (diff)
downloadvaadin-framework-0649c0780d6ac0459ced2543d8fa3ec6da52325c.tar.gz
vaadin-framework-0649c0780d6ac0459ced2543d8fa3ec6da52325c.zip
Reverted [5565] again. Had committed extra files.
svn changeset:5568/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/book/FormExample.java')
-rw-r--r--src/com/itmill/toolkit/tests/book/FormExample.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/tests/book/FormExample.java b/src/com/itmill/toolkit/tests/book/FormExample.java
index 9db5466db9..2125888004 100644
--- a/src/com/itmill/toolkit/tests/book/FormExample.java
+++ b/src/com/itmill/toolkit/tests/book/FormExample.java
@@ -109,7 +109,6 @@ public class FormExample extends CustomComponent {
return new TextField("Street Address");
if (pid.equals("postalCode")) {
- // Postal code that must be 5 digits (10000-99999).
TextField field = new TextField("Postal Code");
field.setColumns(5);
Validator postalCodeValidator = new Validator() {
@@ -157,7 +156,7 @@ public class FormExample extends CustomComponent {
final Form form = new Form();
// Set form caption and description texts.
- form.setCaption("Contsgsdgact Information");
+ form.setCaption("Contact Information");
form.setDescription("Please enter valid name and address. Fields marked with * are required.");
// Use custom field factory to create the fields in the form.
@@ -202,8 +201,6 @@ public class FormExample extends CustomComponent {
// Add Commit and Discard controls to the form.
ExpandLayout footer = new ExpandLayout(OrderedLayout.ORIENTATION_HORIZONTAL);
- form.setValidationVisibleOnCommit(false);
- form.setValidationVisible(false);
// The Commit button calls form.commit().
Button commit = new Button("Commit", form, "commit");